js: Add PhantomJS installation to readme

This commit is contained in:
Stein Magnus Jodal 2012-11-29 00:44:50 +01:00
parent 0a84763526
commit 6a19d379ff

View File

@ -53,7 +53,15 @@ Building from source
cd js/
npm install grunt-buster
5. Run Grunt to lint, test, concatenate, and minify the source::
5. Install `PhantomJS <http://phantomjs.org/>`_ so that we can run the tests
without a browser::
sudo apt-get install phantomjs
It is packaged in Ubuntu since 12.04, but I haven't tested with versions
older than 1.6 which is the one packaged in Ubuntu 12.10.
6. Run Grunt to lint, test, concatenate, and minify the source::
grunt