Heroku Deployment - vijayetar/seattle-301d55 GitHub Wiki
These are the steps for Heroku deployment:
Use this for mac set up
- brew install heroku/brew/heroku
- Use the heroku login command to log in to the Heroku CLI .
- To clone a local version of the sample application that you can then deploy to Heroku, execute the following commands in your local command shell or terminal:
git clone https://github.com/heroku/node-js-getting-started.git
cd node-js-getting-started .
You now have a functioning Git repository that contains a simple application as well as a package.json file, which is used by Node’s dependency manager.
4. Create an app on Heroku, which prepares Heroku to receive your source code.
Heroku generates a random name (in this case sharp-rain-871) for your app, or you can pass a parameter to specify your own app name.
Use : git push heroku master