GitHub Readme.md
https://github.com/appstack/heroku-buildpack-nodejs-gulp.git
. To be safe, you should really fork this and use your fork's URL.heroku labs:enable user-env-compile
to enable environment variable supportheroku config:set NODE_ENV=production
to set your environment to production
(or any other name)heroku:production
that builds your appnpm install gzippo express --save
web.js
:var gzippo = require('gzippo');
var express = require('express');
var app = express();
app.use(express.logger('dev'));
app.use(gzippo.staticGzip("" + __dirname + "/build"));
app.listen(process.env.PORT || 5000);
Procfile
to the root to serve the app via node:web: node web.js
Inspired by Deploying a Yeoman/Angular app to Heroku.
Forked from heroku-buildpack-nodejs-gulp.
Which was forked from heroku-buildpack-nodejs.
Heavily based on heroku-buildpack-nodejs-grunt.
Copy the snippet above into CLI.