Read 05: Heroku Deployment - corey-marchand/data-structures-and-algorithms GitHub Wiki
Heroku Installation Command:
- brew install heroku/brew/heroku
Clone local version you can deploy to Heroku:
- git clone https://github.com/heroku/node-js-getting-started.git
- cd node-js-getting-started
--Deploying the App--
- heroku create *git push heroku master
--Once app is deployed--
Ensure at least one instance of the app is running
- heroku ps:scale web=1
shortcut to open the website:
- heroku open
To view logs of your output, run the command:
- heroku logs --tail