Legworker

A helper gem.

Features

  • vagrant - Provisions a vagrant box, using puppet creates your environment and databases.
  • sequence - Base64 encodes a sequence of images and writes to a json file.

Installation

$ gem install legworker

Vagrant

legworker vagrant -a APP_NAME --devUser DEV_USER --devPass DEV_PASS --prodUser PROD_USER --prodPass PROD_PASS --dd DEV_DATABASE --pd PROD_DATABASE

Sequence

legworker sequence -i "DIRECTORY" -v "VARIABLE_NAME_FOR_DATA" -n "NAME_OF_OUTPUT_FILE" -o "DIRECTORY_FOR_OUTPUT_FILE"

rock and roll.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Change log

9.17.13 - Added automatic vagrant up & provision to ensure everything is installed and setup properly. 3.27.14 - Added sequence to utils.