amida-tech/dre-frontend

Name: dre-frontend

Owner: Amida Technology Solutions

Description: New DRE front-end using FHIR APIs

Created: 2015-07-27 13:22:11.0

Updated: 2016-09-13 19:40:51.0

Pushed: 2016-05-20 00:16:17.0

Homepage: null

Size: 15513

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits
Dmitry Kachaev2015-12-09 15:50:50.05
TheMacros2015-10-13 14:05:17.022
Jacob Sachs2016-05-20 00:16:11.013
Michael Hiner2015-12-07 20:53:01.02
pserdiukov2015-09-30 18:02:23.051
Alexey Shchelokov2015-11-03 21:37:09.06
Igor Ivanov2015-12-11 07:01:42.0176
GeonixDen2015-08-19 09:52:33.012

Other Committers

UserEmailMost Recent Commit# Commits
Aleksandr Matveevmatveevalpa@gmail.com2015-09-28 13:06:33.017

README

DRE Front-end

DRE front-end using FHIR API

Platforms, Frameworks & Development Tools

Installation

Get source code

Get sources from github

Install Compass SCSS compiller

(This is official install How to)

Install Ruby. Here is instruction please choose your platform and go on.

After Ruby will be installed, run

update --system
install compass

If after execute gem update --system you saw error about ssl sertificate. The reason is old rubygems. So we need to remove ssl source to be able to update gem –system which includes rubygems and so on. after this we can feel free to get back to ssl source. gem sources -r https://rubygems.org/ - to temporarily remove secure connection gem sources -a http://rubygems.org/ - add insecure connection gem update --system - now we're able to update rubygems without SSL after updating rubygems do vice versa gem sources -r http://rubygems.org/ - to remove insecure connection gem sources -a https://rubygems.org/ - add secure connection Now you're able to update gems using secure connection. And try to update system and install compass again.

Install Node.js and global npm packages

Download and install Node.js server and npm package manager.

Then install yo, grunt-cli, bower, generator-angular and generator-karma: Run (In Windows OS probably you will need to start cmd as Administarator)

install -g grunt-cli bower yo generator-karma generator-angular
Install required packages

Install required npm packages. Go to 'src' directory and run

install

Install required bower packages. Go to 'src' directory and run

r install

Configuration managment

You have the option to choose your API services from different servers. This is helpful if you do not have or want the Backend Project set up on your local environment. There are different configurations:

Development server less server (mock)

This is demo and client debug configuration. All server responses already mocked. No server calls. Log to the browser console debug information enabled.

t ngconstant:mock
Development without server (dev)

This is development server configuration. Log to the browser console debug information enabled.

t ngconstant:dev
Staging (qa)

This is configuration for test stands. Use relative path server calls. Log to the browser console debug information enabled.

t ngconstant:qa
Note about config switch

Switching config will update dreFrontend.util.dreFrontendEnvironment service (dre-frontend\app\dre-frontend.util\scripts\config\dre-frontend-environment.js) Please do not update it manual.

Build & development

Note for a staging build
t buildQa

Application package will be stored in the 'src/dist' directory.

Contributing

Contributors are welcome. See issues https://github.com/amida-tech/dre-frontend/issues

Release Notes

See release notes here

License

Licensed under Apache 2.0


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.