Skip to content

swahilinerd/icare

 
 

Repository files navigation

iCare

Prerequisites

  1. NodeJs (10 or higher)
  2. npm (6.4.0 or higher), can be installed by running apt install npm
  3. git, can be installed by running apt install git

Setup

Clone repository

 git clone https://github.com/udsm-dhis2-lab/icare.git

Navigate to application root folder

cd icare/ui

Install all required dependencies for the app

npm install

Development server

Duplicate proxy-config.example.json and rename the copied file to proxy-config.json

Copy the following and paste it to the file proxy-config.json

{
  "/": {
    "target":"https://icare.dhis2.udsm.ac.tz",
    "secure": "false",
    "changeOrigin": "true"
  }
}

Start the development server

npm start

Navigate to http://localhost:4200

Build

After making the changes to the backend we build the application so that the omod contains the backend changes by following the steps below:

Navigate to application root folder

cd omods/core

Run the following command to build the application

mvn clean package -DskipTests

Upload the omod to openmrs.

Running unit tests

Running end-to-end tests

Further help

About

The icare Project

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.6%
  • HTML 23.8%
  • Java 16.3%
  • SCSS 1.2%
  • JavaScript 0.8%
  • Gherkin 0.3%