Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku Buildpack option #14

Open
bensheldon opened this issue Jan 25, 2013 · 1 comment
Open

Heroku Buildpack option #14

bensheldon opened this issue Jan 25, 2013 · 1 comment

Comments

@bensheldon
Copy link
Member

via @eddietejeda from a pull request on the nodetiles repo in my account that I just blew away:

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'
heroku config:add LD_LIBRARY_PATH=/app/node_modules/canvas/cairo

@bensheldon
Copy link
Member Author

@@ -12,10 +12,11 @@ Installation on Heroku
12   12 
 2. Within the directory, `heroku create --stack cedar`
13   13 
 3. Setup your heroku environment variables for node-canvas-heroku
14   14 

15      
-   `$ 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 <your-app>
16      
-   $ heroku config:add LD_LIBRARY_PATH=/app/node_modules/canvas/cairo --app <your-app>`
17      
-   
18      
-   IMPORTANT: replace the `<your-app>` at the end of each command with your Heroku app's name, e.g. 'furious-sparrow-2089'
     15 
+
     16 
+   `heroku config:add BUILDPACK_URL=git://github.com/bloomtime/heroku-buildpack-nodejs.git#cairo`
     17 
+   `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'`
     18 
+   `heroku config:add LD_LIBRARY_PATH=/app/node_modules/canvas/cairo`
     19 
+
19   20 
 4. `git push heroku master`
20   21 
 5. Rejoice / Open an issue that these instructions are inadequate
21   22 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant