-
Notifications
You must be signed in to change notification settings - Fork 71
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.
-
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.
-
Ensure you have a heroku account authenticated on your machine. Read Getting Started with Node.js on Heroku if you have not already.
-
heroku create
- This will generate a heroku application for your project.
git remote showshould now listherokuas a remote repository for your git project.
heroku config:set NODE_ENV=production