Skip to content
eddietejeda edited this page Feb 8, 2013 · 1 revision

Setup your heroku environment variables

heroku create --stack cedar

heroku config:add BUILDPACK_URL=git://github.com/bloomtime/heroku-buildpack-nodejs.git#cairo

heroku config:add LD_PRELOAD='/app/node_modules/canvas/cairo/libcairo.so /app/node_modules/canvas/lib/libpixman-1.so.0 /app/node_modules/canvas/lib/libfreetype.so.6' --app

heroku config:add LD_LIBRARY_PATH=/app/node_modules/canvas/cairo --app `

git push heroku master

IMPORTANT: replace the <your-app> at the end of each command with your Heroku app's name, e.g. 'furious-sparrow-2089'

Clone this wiki locally