Created
November 11, 2012 06:52
-
-
Save iwein/4054002 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get the binaries and move them to the right place | |
| cd /tmp/ | |
| wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2 | |
| tar xvjf phantomjs-1.7.0-linux-i686.tar.bz2 | |
| mv phantomjs-1.7.0-linux-i686 /opt/ | |
| # Make it available to Testacular | |
| sudo ln -s /opt/phantomjs-1.7.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs | |
| # If you don't want that symlink you can `export PHANTOMJS_BIN=/opt/phantomjs-1.7.0-linux-i686/bin/phantomjs` instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment