From 6a19d379ff26fe7eacba871c05d6e90e884a0671 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 29 Nov 2012 00:44:50 +0100 Subject: [PATCH] js: Add PhantomJS installation to readme --- js/README.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/README.rst b/js/README.rst index 3df26baa..a68dd9a0 100644 --- a/js/README.rst +++ b/js/README.rst @@ -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 `_ 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