Skip to content

Instantly share code, notes, and snippets.

@joncode
Created May 7, 2013 03:02
Show Gist options
  • Select an option

  • Save joncode/5529993 to your computer and use it in GitHub Desktop.

Select an option

Save joncode/5529993 to your computer and use it in GitHub Desktop.
staging server on heroku
git config heroku.remote staging
sets the normal heroku commands to the heroku environment
heroku apps:create <name> --remote staging
heroku config:set RACK_ENV=staging RAILS_ENV=staging --remote staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment