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 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

Install Ruby

Get all of the dependencies needed to build ruby:

sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev

Download and build the ruby install:

wget http://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz
tar -xzvf ruby-2.3.1.tar.gz
cd ruby-2.3.1/
./configure
make
sudo make install

Get the dependencies for the measure loading software:

sudo gem install health-data-standards
sudo gem install highline

Go to the ecqm folder and run the measure loader. You will need an NLM account in order to complete this step and load value sets from the VSAC service. Register for an account at: https://uts.nlm.nih.gov/home.html:

cd $HOME/go/src/github.com/mitre/ecqm
rake bundle:download_and_install

Clone this wiki locally