开发者

Running Phantomjs on Heroku [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

Is there a way to run phantomjs, a command开发者_如何学Python-line tool, on Heroku?


check out this buildpack:

https://github.com/stomita/heroku-buildpack-phantomjs

I also am able to run the x86_64 build of PhamtomJS, just stuck in my app's vendor directory:

http://phantomjs.org/download.html


In Version 1.5 we got rid of the Xvfb and Xlib dependencies. Now this should be pretty simple.

I'd suggest:

  • checkout the source
  • build a binary with the given script (check the options to build the version without xvfb)
  • be happy :)

Ariya, the main author, also did a good job at incorporating Qt in our codebase directly, so we have a tailored, stripped down Qt that does just what PhantomJS needs and no more :)


I'm not familiar with Phantom, but it looks like a binary, in which case there's a Heroku buildpack which might help you out here:

https://github.com/ryandotsmith/null-buildpack

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜