Skip to content

A slightly modified version of Heroku's official Node.js buildpack with added gulp.js support

License

Notifications You must be signed in to change notification settings

krry/heroku-buildpack-nodejs-gulp-bower

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack for node/bower/gulp

Setup

  1. Install the Heroku Toolbelt.
  2. On the command line, set your app's buildpack URL to target this repository:
heroku config:set BUILDPACK_URL=https://github.com/krry/heroku-buildpack-nodejs-gulp-bower.git
  1. Set the NODE_ENV to an environment name of your choice:
heroku config:set NODE_ENV={{env}} // I like to keep my `env` names short, e.g., "prod", "stage", "test", "int", "dev"
  1. Allow the Heroku instance to install devDependencies stored in your package.json as heroku recommends.
heroku config:set NPM_CONFIG_PRODUCTION=false
  1. For each environment name, add a Gulp task named heroku:{{env}} that builds the app for that environment.
var gulp = require('gulp');

gulp.tasks('heroku:prod', [default]);

Credits

About

A slightly modified version of Heroku's official Node.js buildpack with added gulp.js support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%