wiki:InstallationGuidelines/PhantomJS

Version 8 (modified by Fran Boon, 5 years ago) ( diff )

Update to 2.1

Install PhantomJS

This is required for UserGuidelines/Admin/MapPrinting.

This is not available in Debian Wheezy, and the version in Debian SID (unstable) is too old so we can need to build from source:

apt-get update
apt-get -y install build-essential chrpath git-core libssl-dev libfontconfig1-dev libxft-dev libfreetype6-dev
git clone https://github.com/ariya/phantomjs
cd phantomjs
python build.py
git checkout 2.1
cp -f bin/phantomjs /usr/bin/

For Windows or Mac, can download the binary & place in the path:

Note: See TracWiki for help on using the wiki.