Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.23 KB

File metadata and controls

37 lines (23 loc) · 1.23 KB

Heroku buildpack: Meteorite with Phantomjs

This build pack allows you to easily deploy meteor apps to heroku using meteorite. It's easy to use different branches of meteor and any smart package you can lay your hands on.

This version includes Phantomjs 1.9.0 to allow the spiderable package to function correctly and uses MONGOLAB_URI for MONGO_URL

Usage

heroku create --stack cedar --buildpack https://github.com/areed/heroku-buildpack-meteorite-phantomjs.git

Then git push to heroku as usual.

NOTES

You need to set the ROOT_URL environment variable:

heroku config:add ROOT_URL=your.domain.com

If you are not running this as a fresh buildpack you will need to setup the environment paths correctly:

heroku config:add LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib:/app/vendor/phantomjs/lib
heroku config:add PATH=bin:.meteor/heroku_build/bin:node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/app/vendor/phantomjs/bin

You can specify meteor settings by setting the METEOR_SETTINGS environment variable:

heroku config:add METEOR_SETTINGS='{"key":"value"}'

You need to have a verified account so the buildpack can add a mongohq:sandbox addon.