$ nf run supervisor index.js
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles:
- Getting Started with Node.js on Heroku
- Heroku Node.js Support
- Node.js on Heroku
- Best Practices for Node.js Development
- Using WebSockets on Heroku with Node.js
- Create a Button on PayPal
- Upgrade package.json: use npm-check-updates -> http://stackoverflow.com/questions/16073603/how-do-i-update-each-dependency-in-package-json-to-the-latest-version