This repository contains the Reference Application UI library.
It contains common utilities for developing OpenMRS UI.
To get this library You can:
- Clone the repo:
git clone https://github.com/PawelGutkowski/openmrs-contrib-refapp-ui-lib/tree/v0.1.5
. - Install with Bower:
bower install openmrs-contrib-refapp-ui-lib --save
. - Install with npm:
npm install openmrs-contrib-refapp-ui-lib
.
At the moment, release contains only CSS stylesheets and precompiled SCSS files for them.
You can find OpenMRS Reference Application styleguide here.
You can compile .css files by yourself. You will need NodeJS 4+ and Compass installed to do this. See the install instructions for NodeJS and Compass.
Once you have NodeJS and Compass installed, you need to install Gulp and Bower (first time only) as follows:
npm install -g gulp bower
Install the dependencies (first time only):
npm install && bower install
Build the distributable using Gulp as follows:
gulp
This will create a dist
directory, which will contain Your compiled CSS stylesheets.