Skip to content

AntipaperLabs/heroku-buildpack-meteorite-phantomjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published