Skip to content

Ubuntu 16.04.1 Installation

Andy Gregorowicz edited this page Apr 7, 2017 · 10 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 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 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.

Load the measure bundle into the database

Follow the instructions on the node-cqm-engine wiki