How to deploy the project - Visualisering/Visualisering GitHub Wiki

Server

Install dependencies

$ npm install

Run the app with:

$ npm start

For a more permanent deployment something like forever or even better deploying the node app as an upstart service might be a good idea.

Client

  • Change the server address constant - WS_URL - inside /src/constants.js to match your deployed server.

  • Install dependencies

$ npm install
  • Build production
$ npm run build:production
  • Let a server host the minified, static files located inside /build. One easy way is to use github-pages.