Index: web/README =================================================================== --- web/README (revision 5531) +++ web/README (revision 5532) @@ -2,24 +2,34 @@ Prerequisites ------------- -Install node.js v4.x.x or higher (v6.x.x is recommended). -Install the npm package manager. +TL;DR version: install node.js and the npm package manager. +For detailed information it's a good idea to read: + +https://nodejs.org/en/download/package-manager + Make sure that node.js can be invoked by the name 'node'. +On several distributions it is installed as nodejs, but not every node package +is aware of that name variation. +On Debian-based distributions you can install the 'nodejs-legacy' package +that links 'node' to 'nodejs'. -On Debian-based distributions you can install the `nodejs-legacy` package -that symlinks `nodejs` to `node`. +npm is installed with node.js automatically. +To update npm to the latest version, run: -Run the ./configure script. It is totally different from a usual configure -script but its role is similar: prepares for build. +sudo npm install npm -g +After package installation run the ./configure script. It is totally different +from a usual configure script but its role is similar: setting up the build +environment. + Running the testserver ---------------------- make cd testserver -npm start +node app Open your browser and enter the following url: @@ -37,3 +47,4 @@ drawRemoteFile("../testdata/netlist.pcb.remote"); For more info read testserver/README and testclient/README. +