UAMS-DBMI/ncso-pilot

Name: ncso-pilot

Owner: UAMS Department of Biomedical Informatics

Description: null

Created: 2016-06-13 16:11:45.0

Updated: 2016-06-13 16:13:28.0

Pushed: 2016-06-13 16:13:24.0

Homepage: null

Size: 17189

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

NCSO Demo Website

The NCSO Website consists of 2 components, the front end using Angular.js and the back end API using the Play! framework and Scala.

Building the Angular Front End

From the NCSO Website root:

$ cd app/frontend/angularjs

$ npm install

$ bower install

Note: If you have a bower git error run the following command:

$ git config --global url."https://".insteadOf git://

Deploying the Front End Locally

To deploy the front end locally and keep running in live reload mode run:

$ grunt serve

Packaging the Front End Into Static Files For Production Use with the Back End API

Running the grunt build task will deploy minified, production ready versions of the angular app in the public/javascripts/dist/ directory.

$ grunt build

Running the Back End API

$ sbt run

Navigate to http://localhost:9000/ and you can access the most recent front end deployed files.


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.