Skip to content


Subversion checkout URL

You can clone with
Download ZIP
starter django application to have django-pipeline deployed on heroku with coffee and stylus support
Python CoffeeScript
branch: master
Failed to load latest commit information.
example Updating info
.gitignore Adding structure
Procfile Adding structure Updating docs
npm_requirements.txt Adding structure
requirements.txt Adding structure


starter application to have django-pipeline running on heroku, precompiling coffee and stylus assets as needed.


production (heroku) deploy

  1. create the stack on heroku

    heroku create --stack cedar --buildpack
  2. push to heroku

    git push heroku master
  3. add /app/bin to your PATH in Heroku (all node deps including node will be symlinked here)

    heroku config:add PATH=bin:node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/app/bin

how it works

the buildpack enables the npm_requirements.txt file where you enter all of your node dependencies.

on heroku push, all npm requirements are added and symlinked under /app/bin (eg. /app/bin/node, /app/bin/coffee, etc)

in simply override pipeline settings to point to these symlinks:

PIPELINE_STYLUS_BINARY = '/app/bin/stylus'
Something went wrong with that request. Please try again.