Add instructions for installing NPM

Samuel Mannehed
2017-04-21 14:52:55 +02:00
parent 1c9dbf5c1e
commit 36cdf7fb09

@@ -16,6 +16,9 @@ First run `npm install` (not as root) at top level in your noVNC source code dir
The tests take the form of Javascript files named `test.*.js` found in the /tests folder. We use Karma to run our tests. You can launch Karma manually, or simply run `npm test`. Then use a browser of your choosing and surf to the Karma server, see details in the output from the previous command. The Karma debug page will display the tests in normal mocha form, if you need it.
### Requirements ###
The automatic tests require the Node Package Manager. On RPM systems, run `sudo dnf install npm`. On DPKG systems, run `sudo apt install npm`.
Writing Tests
=============