Skip to content

The icare Project for CS 335, for 2021-04-08389

License

Notifications You must be signed in to change notification settings

Miracle393/iCareConnect

 
 

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 for CS 335, for 2021-04-08389

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.6%
  • HTML 21.8%
  • Java 19.7%
  • SCSS 1.1%
  • JavaScript 0.6%
  • Gherkin 0.2%