Note: Not intended for general use. This has some REscour-specific hacks that allow us to properly deploy one of our own apps. YMMV.
heroku config:set NODE_ENV=productionto set your environment to
production(or any other name)
heroku:production(same as NODE_ENV) that builds your app
Procfileto the root to serve the app via node:
web: node [path/to/your/root/script.js]
Forked from heroku-buildpack-nodejs-gulp-bower.
Copy the snippet above into CLI.