Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

heroku staging or new app in heroku for staging?

What are thoughts around creating a staging environment for my app or should i create a second app on heroku for staging? Which one is better, or preferred?

Thanks.

like image 390
noob Avatar asked May 04 '12 20:05

noob


People also ask

How do I push to Heroku staging?

If you want to set push. default for all git repositories (instead of just this one), add --global to the command. Now, you're in the staging branch and you're set up so that git pull and git push will work against your staging environment without any further arguments.

Why you shouldn't use Heroku?

Heroku is also hard to use for non-web services that don't use HTTP. It's not really set up for them. It gets your data, which may or may not be a problem. It's like other cloud vendors, but may not be okay for you.


1 Answers

Second app - add the git remote of the new app to your repo so you can deploy to it from a single code base.

Read more at https://devcenter.heroku.com/articles/multiple-environments

like image 109
John Beynon Avatar answered Oct 06 '22 11:10

John Beynon