Run your reapp project using Express on
- Copy server.js to your project workdir.
- Copy Procfile to your project workdir.
- npm install express --save
- reapp build web
- node server
Set the heroku NODE_ENV environment variable to 'production' or change the value in server.js.
- heroku config:set NODE_ENV=production
Deploy:
- git add server.js
- git add Procfile
- git commit -a -m 'run on heroku'
- git push heroku master