Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

leesei/heroku-buildpack-casperjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

Heroku buildpack: CasperJS

This is a Heroku buildpack of CasperJS / PhantomJS.

Usage

Example usage:

$ heroku create --stack cedar --buildpack https://github.com/leesei/heroku-buildpack-casperjs.git

$ git push heroku master

Alternately, you can cascade with other buildpacks:

$ heroku create --stack cedar --buildpack https://github.com/ddollar/heroku-buildpack-multi.git

$ echo https://github.com/leesei/heroku-buildpack-casperjs.git > .buildpacks

# echo [other buildpack] >> .buildpacks
# `git add` your files

$ git push heroku master

You can also login to the herokuapp and execute phantomjs and casperjs:

$ heroku run bash
Running `bash` attached to terminal... up, run.2587
Add phantomjs/casperjs paths ...
$ casperjs

NOTE

After commit 687a395061, these two config has to be set:

heroku config:set PATH="${PATH}:/app/vendor/phantomjs/bin:/app/vendor/casperjs/bin"
heroku config:set LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/app/vendor/phantomjs/lib"

About

This is a Heroku buildpack of CasperJS / PhantomJS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%