This is a staging system for express projects.
Assumes You Have:
- heroku cli
- npm / node
- git
$ git clone [url]
$ heroku create
$ git push heroku master
$ heroku open
$ git checkout -b [name]
$ git add .
$ git commit -m 'message'
$ git checkout -b [name]
$ git checkout -b [branch_new]
$ git add .
$ git commit -m 'message'
$ git merge -s ours [branch_old]
$ git checkout branch_old
$ git merge branch_new
$ git add .
$ git commit -m 'new changes'
$ git push origin [old branch]
$ git branch -d [new branch]
$ git checkout master
$ git push heroku master
View Heroku Production Environment Variables
$ heroku run printenv