Well, that worked, with a few minor edits: # Had to use "git push [email protected]:drominay-staging.git master" instead of "git push drominay-staging" # Had to use "git push heroku master" instead of "git push drominay- production" # Had to add a staging.rb file to config/environments -- I simply duplicated production.rb # I also made the change Raving Genius suggests above
The next step of course is to turn this all into a few rake tasks so I'm at no risk of sleepily pushing my staging database to production one night. Then perhaps a blog post documenting the entire process. Thanks all, Steven. On Apr 18, 12:06 pm, Raving Genius <[email protected]> wrote: > You know, step 1A could be just `heroku create drominay-staging`. Then > you wouldn't have to rename the app in step 1B. > > On Apr 15, 6:42 am, steven_noble <[email protected]> wrote: > > > > > > > Hi all, > > > Thanks for your input. As a result, I've revised the steps, listed > > below. Note: there are no assumptions here -- I have written down > > absolutely everything I intend to type. Have I captured it all? If I > > have, and it works, I might summarise it in a blog post when I'm done. > > > Thanks again, > > > Steven. > > > Here goes: > > > 1. Create drominay-staging > > A. heroku create > > B. heroku rename drominay-staging --app 77-green-bears-or-whatever- > > heroku-names-it-originally > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
