noms-digital-studio/nomis-reports

Name: nomis-reports

Owner: NOMS Digital Studio

Description: null

Created: 2017-12-19 10:45:26.0

Updated: 2018-05-22 09:49:03.0

Pushed: 2018-05-22 09:49:02.0

Homepage: null

Size: 432

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

NOMIS Reports Application

A Web service to provide access to operational reports from HMPPS Digital Services.

Running with NodeJS

Start by ensuring you have the most recent version of NodeJS and NPM installed.

Pre-requisites

To find the current version of NodeJS installed on your system, run the following command in your preferred shell;

de -v

If you have the latest versions installed you need to get the dependencies loaded, run the following command in your preferred shell;

m install
Running the tests

If you have all the Pre-requisites then you are ready to run the tests. Call the following from your shell;

m test
Running the server

If you have all the Pre-requisites then you are ready to run the service. Call the following from your shell;

m start
Running the server with raw logs

If you wish to have the output in raw JSON, then you can run the server without piping it through bunyan's formatter. Call the following from your shell;

de server.js

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.