-
Notifications
You must be signed in to change notification settings - Fork 22
Setup on Heroku
Matt Hampel edited this page Nov 25, 2013
·
3 revisions
You'll want to use the cairo
buildpack -- follow the instructions here to get started, then push your app to heroku.
Legacy Heroku instructions, still valid as of 11/25/2013:
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'