RailsSetup
This is a collection of generators to help setup rails development in an enterprise environment.
Installation
Add this line to your application's Gemfile:
gem 'rails_enterprise_setup'
And then execute:
$ bundle install
Usage
rails generate setup_rails
You will have the option of choosing all or any of the setups:
all[Aa]:
db_connect[Cc]:
db_credentials[Rr]:
ssl_mode[Ss]:
none[]:
Note: You can enter more then 1 letter.
e.g.
"What setup would you like to run. (Default: none)[AaCcRsSs]:" cr
typing 'cr' will run db_connect and db_credentials sequentially. running 'crs' will be the same as 'a'
More Info
rails generate setup_rails -h
rails generate db_connect -h
rails generate db_credentials -h
rails generate ssl_mode -h
Contributing
- Fork it ( https://github.com/[my-github-username]/rails_setup/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request