-
Notifications
You must be signed in to change notification settings - Fork 4
Ubuntu 16.04.1 Installation
The following instructions will allow you to set up the eCQM services on Ubuntu 16.04.1.
Follow the instructions at Digital Ocean.
sudo apt-get install golang
Add the following to your HOME/.profile file
export GOPATH=$HOME/go
Follow the instructions at the node-cqm-engine wiki.
You should have node.js installed after you installed the calculation back end. There is one additional command you need to execute to get node set up for the front end:
sudo ln -s /usr/bin/nodejs /usr/bin/node
The node-sass library used by the front end expects the node.js binary to be called node. On Ubuntu it is called nodejs. This creates a symlink to fix the issue.
Next, from your home directory:
git clone https://github.com/mitre/ecqm-frontend.git
cd ecqm-frontend
npm install
npm start
This will start a server that will build the needed assets for the front end. You can kill the server, using Ctrl-C, once it has built the assets, as the Go-based server will host all of them for us.
Follow the instructions on the node-cqm-engine wiki