I read a couple of other posts on this subject, but there seemed to be something at a dead end. I'm trying to have two separate branches that supersede two different Heroku instances - one production and one stage. I believe my setup will look like this:
Local Myapp | | - master > - master | | | | Myapp-Staging | | - edge > - master
I have the following commands, but for some reason I seem to be unable to correctly click on the intermediate service. The "git push master master" goes through, but I cannot understand why the changes did not seem to affect the Heroku instance when I go to myapp-staging.heroku.com. I could do something here ...
[Dev]
git checkout edge git push staging master (is this "master" or "edge")? heroku rake db:migrate --app myapp-staging
[Production]
git checkout master git push master master heroku rake db:migrate -app myapp
Any help would be greatly appreciated.
ruby-on-rails heroku
Newy
source share