Last active
August 29, 2015 14:05
-
-
Save sovanlandy2/95460f62a84214dbdd8e to your computer and use it in GitHub Desktop.
How to set heroku app environment to staging or production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config:add RAKE_ENV=staging --remote staging | |
heroku config:add RAILS_ENV=staging --remote staging | |
# if you have parity gem installed: | |
staging config:add RAKE_ENV=staging | |
staging config:add RAILS_ENV=staging | |
# check out parity gem, designed specifically for heroku https://github.com/croaky/parity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment