Setup - PMeschenmoser/Visual-Analyzer-for-News-Dependencies GitHub Wiki

  1. It's easy.
  2. Install node.js on your system. We will also need the package manager npm, it's part of the node installation. Make sure that path variables for node + npm will be set as environment variables.
  3. Clone/Extract the project into your filesystem.
  4. cd to the project's root directory and run npm install from your command line. This will setup locally the node modules, that are listed in package.json.
  5. run npm run-script start in the root directory.
  6. You can switch the frontend in app.js by changing the directory public_multi in app.use(express.static(path.join(__dirname, 'public_multi'))) to public_vand.
  7. VAND Multi requires a Stanford Core NLP server for data preprocessing. Download it here and run the server on default port 9000: java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000.
  8. Open your browser at localhost:3000.

Alternative: Import in Webstorm + add npm run config.