From 1d04c6c670d3a74b4202fa22155749dc8ffaac15 Mon Sep 17 00:00:00 2001 From: Brandur Date: Sat, 24 Dec 2011 10:18:17 -0700 Subject: [PATCH] Notes on multiple environments --- heroku.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/heroku.md b/heroku.md index 3671bc0..0b8dffa 100644 --- a/heroku.md +++ b/heroku.md @@ -21,3 +21,8 @@ When making a change to the Rails app, checkout `master`, commit the changes, th Deploy production to Heroku as described [on Stack Overflow](http://stackoverflow.com/questions/1489393/good-git-deployment-using-branches-strategy-with-heroku): git push heroku production:master + +Multiple Environments +--------------------- + +It's often useful to have both a `staging` and `production` Heroku app, and if you do, it's very convenient to link a local branch to each of these remote applications. This process is described [in Heroku's docs](http://devcenter.heroku.com/articles/multiple-environments#advanced_linking_local_branches_to_remote_apps).