Skip to content

A custom microfrontend for Ethiopia's integration into OHRI

License

Notifications You must be signed in to change notification settings

CDC-HIS/openmrs-esm-ethiohri

Repository files navigation

ETHIOHRI ESM

A custom microfrontend for Ethiopia's integration into OHRI built on top of OpenMRS 3.x

Pre-requisites

Getting Started

# With SSH
git clone git@github.com: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

Running tests

Unit tests

To run unit tests, use:

yarn test

E2E tests

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.