Note: Not intended for general use. This has some REscour-specific hacks that allow us to properly deploy one of our own apps. YMMV.
- Set your Heroku app's buildpack URL to
https://github.com/rescour/heroku-buildpack-nodejs-gulp-bower-sass.git
. - Run
heroku config:set NODE_ENV=production
to set your environment toproduction
(or any other name) - Add a gulp task called
heroku:production
(same as NODE_ENV) that builds your app - Add a single line
Procfile
to the root to serve the app via node:
web: node [path/to/your/root/script.js]
Forked from heroku-buildpack-nodejs-gulp-bower.