Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

Ubuntu 16.04.1 Installation

Andy Gregorowicz edited this page Sep 15, 2016 · 3 revisions

Install Instructions

The following instructions will allow you to set up the eCQM services on Ubuntu 16.04.1.

Install MongoDB

Follow the instructions at Digital Ocean.

Install Go

sudo apt-get install golang

Add the following to your HOME/.profile file

export GOPATH=$HOME/go

Install the calculation back end

Follow the instructions at the node-cqm-engine wiki.

Install the eCQM services

Follow the instructions at the ecqm wiki.

Install the eCQM front end

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 install -g webpack
NODE_ENV=production webpack --config ./webpack.production.config.js --progress