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 :)
发布评论
评论(3)
查看此构建包:
https://github.com/stomita/heroku-buildpack-phantomjs
我还可以运行 PhamtomJS 的 x86_64 版本,只是停留在我的应用程序的
vendor
目录中:http://phantomjs.org/download.html
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
在版本 1.5 中,我们摆脱了 Xvfb 和 Xlib 依赖项。
现在这应该很简单。
我建议:
主要作者 Ariya 在直接将 Qt 合并到我们的代码库方面也做得很好,所以我们有一个定制的、精简的 Qt,它可以满足 PhantomJS 的需要,仅此而已:)
In Version 1.5 we got rid of the Xvfb and Xlib dependencies.
Now this should be pretty simple.
I'd suggest:
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 :)
我不熟悉 Phantom,但它看起来像一个二进制文件,在这种情况下,有一个 Heroku 构建包可能会在这里帮助您:
https://github.com/ryandotsmith/null-buildpack
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