A custom microfrontend for Ethiopia's integration into OHRI built on top of OpenMRS 3.x
- Node v16 or higher
- Yarn
- TypeScript
- Code editor (VSCode is preferred)
# With SSH
git clone [email protected]:CDC-HIS/openmrs-esm-ethiohri.git
# Without SSH
git clone https://github.com/CDC-HIS/openmrs-esm-ethiohri.git
# Change directory
cd openmrs-esm-ethiohri
# Install dependencies
yarn
# Run development server on port 8080
yarn start
# OR to run on a different port for example 8090
yarn start --port 8090
To run unit tests, use:
yarn test
To run E2E tests, make sure the dev server is running by using:
yarn start
Then, in a separate terminal, run:
yarn test-e2e --headed
Please read our e2e docs for more information about E2E testing.