Add the node version to package.json
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
}
Create a Procfile
with the command to start the server
web: node app.js
Create a new heroku app:
heroku create
Push the app to heroku:
git push heroku master
Test your creation:
heroku open