Skip to content

Monorepo for AMPATH clinic dashboard widgets

License

Notifications You must be signed in to change notification settings

AMPATH/ampath-esm-clinic-dashboard

Repository files navigation

Node.js CI

Ampath Clinic Dashboard

This is a lerna project containing packages that make up the AMPATH Clinic Dashboard.

Available Packages

The packages bundled in this repo include:

Repository Development

Prerequisites

  • Node version ^10
  • yarn sh npm install yarn -g
  • lerna sh npm install lerna -g

Getting started

To install and setup the repository once cloned, just use the following command

  npx lerna bootstrap

To develop a specific package e.g. @ampath/esm-hiv-clinic-dashboard-app

run this command

  npx openmrs develop --sources 'packages/esm-hiv-clinic-dashboard-app'

You can always use regex to run multiple packages

npx openmrs develop --sources 'packages/esm-{package1,package2}-app`

Building

For building the code just run

npx lerna run build

Tests

To verify that all the test run from the root directory

yarn test or npm test

Deployment

The master branch of this repo is deployed in ng2-amrs

Configuration

This module is designed to be driven by configuration files.

Resources