diff --git a/README.md b/README.md index e7d13d0..41449de 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,12 @@ Install [Node.js](http://nodejs.org/) and [MongoDB](http://www.mongodb.org/). Refer to their corresponding documentation for installation instructions. The supported versions are: -- Node.js: 6.x and 7.x (7.x recommended) +- Node.js: 6.x and 8.x (8.x recommended) - MongoDB: 2.6 through 3.4 +Install build tools and libxml2 development files from your system's package +manager. + Then install GenieACS using NPM: npm install -g genieacs @@ -35,6 +38,9 @@ Alternatively, you can install from source by cloning the git repository: npm install npm run compile +Before proceeding, find and review the file "config.json" in "config" directory +where GenieACS is downloaded. + Finally, run the following (from bin directory if installing from source): genieacs-cwmp diff --git a/lib/cluster.js b/lib/cluster.js index c7dd8b4..b5e7e8a 100644 --- a/lib/cluster.js +++ b/lib/cluster.js @@ -27,7 +27,7 @@ const VERSION = require("../package.json").version; function getDependencyVersions() { let dependencies = [`node@${process.versions.node}`]; try { - let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json")); + let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json --depth 0")); for (let k in npmls.dependencies) dependencies.push(`${k}@${npmls.dependencies[k].version}`); diff --git a/package.json b/package.json index 77037bc..60a80f1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "coffeescript": "^1.12.4" }, "engines": { - "node": ">=6.9.2 <8.0" + "node": ">=6.9.2 <9.0" }, "scripts": { "prepublish": "npm run compile",