BB Deploy
This is a gem for deploying Rails services to Heroku via Rake task. In order to use it, the app you are trying to deploy should be set up as follows:
Add the
bb_deploygem to your GemfileCopy the following code to a file
config/deploy.rbin your Rails app, and set the fields as appropriate: http://bit.ly/2cdRzAoAdd the following line to your application's Rakefile:
require File.expand_path('../config/deploy', __FILE__)Make sure that your machine has all the necessary Git/Heroku keys, and that your endpoints are set up correctly.
That's it! You will now be able to deploy your app by typing
bundle exec rake heroku:deploy:<qa|staging|production>in the root dir of your app.