This is a lerna project containing packages that make up the AMPATH Clinic Dashboard.
The packages bundled in this repo include:
- Node version ^10
- yarn
sh npm install yarn -g
- lerna
sh npm install lerna -g
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`
For building the code just run
npx lerna run build
To verify that all the test run from the root directory
yarn test or npm test
The master
branch of this repo is deployed in ng2-amrs
This module is designed to be driven by configuration files.