Skip to content

Deploying with Heroku

Joseph Alves edited this page Apr 16, 2015 · 27 revisions

Deployment with Heroku should be streamlined, depending on the functionality and needs of your application. Before attempting to deploy, it is suggested that you read Getting Started with Node.js on Heroku.

To deploy, you should be able to follow these steps.


Note:

  • Your project should already be a git project.

  • All listed commands should be run in your project root.

  • If your application requires extra processes or tasks, your mileage may vary.


  1. Ensure you have a heroku account authenticated on your machine. Read Getting Started with Node.js on Heroku if you have not already.

  2. heroku create

  • This will generate a heroku application for your project. git remote show should now list heroku as a remote repository for your git project.
  1. heroku config:set NODE_ENV=production

Clone this wiki locally