Heroku Setup - scholarslab/prism GitHub Wiki

$ git remote add staging git:repo
...
$ git push staging master
...
$ heroku run rake db:migrate --remote staging
...
$ heroku ps --remote staging
=== web: `bundle exec rails server thin -p $PORT -e $RACK_ENV`
web.1: up 2013/03/04 10:15:17 (~ 1m ago)

Pushing to staging

$ git push staging yourbranch:master
...
$ heroku run rake db:migrate --remote staging
...
$ heroku open --remote staging

More docs

https://devcenter.heroku.com/articles/git