Skip to content

AMPATH/openmrs-config-amrs

Repository files navigation

OpenMRS config for the OpenMRS distribution for AMRS (AMPATH Medical Records System)

![AMRS OpenMRS 3.x Deployment]

This is the OpenMRS backend configuration for the OpenMRS distribution AMRS.

This configuration is designed to be loaded by:


Instructions

To build assets for deployment:

  1. Install Node.js v16 or above on your system from Node.js website.

  2. Two scripts are available to generate frontend assets for deployment: one for the development environment and one for production.

    Run production build

    sh setup.sh

    Run dev build

    sh dev-build.sh

    Both scripts generate frontend assets for deployment. Note that for the production build, the configURL in index.html must be updated, and the config.json file must be updated to include the deployed server url. For example, for our test instance, the index.html configURL is https://ngx.ampath.or.ke/amrs/spa/config.json.

  3. The built assets are located in a folder named frontend. Copy these files to the frontend directory, for example, /var/lib/OpenMRS.

Please note that our work on patient-registration and esm-login contain custom changes and require updating the respective JavaScript assets:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published