Deep Thought Heroku Deployer
Deploy to Heroku with Deep Thought.
gem install deep_thought-heroku
In your Deep Thought's
require "deep_thought" require "deep_thought-heroku" DeepThought.setup(ENV) run DeepThought.app
In your Heroku-bound projects, set the
deploy_type to "heroku":
Additionally, the Heroku deployer needs the remote repos for each environment's Heroku app:
heroku: environments: development: email@example.com:development.git staging: firstname.lastname@example.org:staging.git production: email@example.com:production.git
Pretty much Deep Thought as usual - deploy any branch to any environment.
As of right now, deploy actions do not do anything. In the roadmap is to map actions to
heroku run tasks.
The only deploy variable recognized right now is "force" - setting
force = true will do a force push to Heroku.
Find an issue? Want to make the deployer more robust?
Set it up:
echo RACK_ENV=development > .env
Set up the databases (PostgreSQL):
createuser deep_thought createdb -O deep_thought -E utf8 deep_thought_development createdb -O deep_thought -E utf8 deep_thought_test rake db:migrate