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

Add PhantomJS to make "spiderable" package working #12

Open
camilleroux opened this issue Apr 3, 2013 · 4 comments
Open

Add PhantomJS to make "spiderable" package working #12

camilleroux opened this issue Apr 3, 2013 · 4 comments

Comments

@camilleroux
Copy link

No description provided.

@barnett
Copy link

barnett commented Jan 21, 2014

@camilleroux, how did you get spiderable to work on heroku buildpack?

@wfleming
Copy link
Collaborator

@camilleroux Is this something you're still interested in?

phantomjs is packaged within Meteor (it is now: no idea if it was 2 years ago), but it ends up at a pretty wacky path. For current versions built with this buildpack, it's at .meteor_tool/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/d ev_bundle/lib/node_modules/phantomjs/lib/phantom/bin/phantomjs.

I've poked at meteor's internal directory a bit, & can't find any good version-independent symlinks to use in a PATH, so I'm leery of trying to make this available as part of the buildpack's standard behavior. I think you could use this if you wanted to, though, by modifying your process.env.PATH within your app during startup.

Alternatively, Meteorpedia suggests using the phantomjs smart package, which is probably a more more elegant solution.

@lirbank
Copy link

lirbank commented Jun 18, 2015

This buildpack has phantomJS by default https://github.com/AdmitHub/meteor-buildpack-horse

@callmephilip
Copy link

PR submitted #42

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

5 participants