Crane::Rails

Prerequisites

This gem makes the assumption you have the following installed:

  • Virtualbox
  • Vagrant
  • Tmuxinator

Installation

gem install crane_rails

There is really no point in adding this gem to your gemfile as it will override your current Gemfile

Usage

Run this command in the root of a rails project

rails new docker_is_awesome -T --skip-bundle --database=postgresql
cd docker_is_awesome
rails g crane:bootstrap

Next comes Tmuxinator

mv tmuxinator-sample.yml ~/.tmuxinator/rails.yml
tmuxinator start rails

Contributing

  1. Fork it ( https://github.com/shicholas/crane_rails/fork )
  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

License

MIT, © Nicholas Shook, 2014