Deploying Server on Heroku - Plateful/plateful-mobile GitHub Wiki
Current server: http://platefulserver.herokuapp.com/
####Creating the Server on Heroku
- Make sure all needed npm packages are in dependencies in the package.json file (heroku does not install devDependencies.
- Add a Procfile, which will tell heroku how to start your server: web: node server/app.js
- Create a heroku app:
heroku create
- Push the app to heroku:
git push heroku master
####Updating the Heroku Server:
- Make sure you have heroku added as a remote:
git remote add heroku [email protected]:platefulserver.git
- Push all final revisions to Plateful:master
- Pull changes into your local branch:
git pull --rebase upstream master
- Push changes to heroku:
git push heroku master