Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Update phantom to 2.0 version with new WebKit engine #27

Open
shumkov opened this issue Mar 27, 2015 · 2 comments
Open

Update phantom to 2.0 version with new WebKit engine #27

shumkov opened this issue Mar 27, 2015 · 2 comments

Comments

@shumkov
Copy link
Contributor

shumkov commented Mar 27, 2015

No description provided.

@Stanback
Copy link
Member

Thanks for submitting this, it's definitely on my radar.

I have had Phantom 2.0 running on a production environment for about a month now and it's working great. The only thing that needed to be changed was updating the phantom dependency in package.json to 0.7.2+. I've committed and pushed this change to Github but not to the ember-prerender NPM repository yet.

Currently, I'm waiting for Phantom to release the official Linux binary and for it to be available on NPM for easy installation. I'm monitoring the status occasionally but feel free to give me a heads-up when it changes - you can see their note about linux here: http://phantomjs.org/download.html

If you (or anyone else) would like to try compiling it yourself, I put the Dockerfile that I created to compile phantom in a self-contained environment in a gist: https://gist.github.com/Stanback/d679d90d4054da0ef21e (Note: it takes a very long time to compile) Of course, you may be able to acquire a precompiled version, or find an alternative NPM package, or compile it on your computer without using docker..

Once it's compiled, you can switch over to 2.0 by changing the file lib/engines/phantom.js and editing the line binary: phantomjs.path, to be binary: "/your/path/to/phantomjs2.0",.

@shumkov
Copy link
Contributor Author

shumkov commented Apr 7, 2015

Thank you for so detail answer. It is not an urgent task for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants