Example: DRC EMR Installation Guide: Online Approach
Introduction
This documentation serves as a step-by-step guide for the online installation of the DRC EMR Distribution. This approach recommends the creation of local copies of the docker-compose.yml, docker-compose-restore.yml and the .env.example file to .env or create a new file with the same name and values on your local environment with internet access.
Pre-Requisites
Minimum Hardware Requirements
We recommend selecting your hardware and system requirements based on real-world needs, such as the number of users or expected patient records.
These specifications assume a bare metal installation of the OS. Running OpenMRS as a VM on a Windows computer for any production use is NOT recommended.
Minimum (1-10 users): Quad-core or higher desktop-class processor, 8 GB RAM, 100+GB HDD
Recommended (10+ users): 8 Core+ processor, 16 GB RAM, 100+ GB HDD in RAID configuration, with backup facilities
Cloud Requirements (AWS):
Minimum: EC2 t3.medium (1-10 users)
Recommended: t3.large (8GB RAM, more processors) or higher, depending on the number of users
Internet Connectivity
Stable internet connectivity
Getting Started with Online Installation
create a folder on your environment where the project the instance will be started.
Navigating to https://github.com/path-drc and clicking on a path-drc-emr repository under the project.
Click on the .env.example file
Download the file to rename in your project folder.
Click on docker-compose-restore.yml file
Download the file
Rename the env.example.env file in your folder to .env file
Set the location for the instance under the .env
Open the project via terminal and list the directory by using command: ls. Then, start up the project by spinning up the docker images using the command: docker compose up
The new OpenMRS UI is accessible at http://localhost/openmrs/spa the OpenMRS Legacy UI is accessible at http://localhost/openmrs
The installation wizard will run and can be accessed via the /openmrs path of the backend
The front end will render /openmrs/spa/login . In this illustration, the DRC distribution login page is displayed
Trouble Shooting Docker build
In some instance, the docker compose up results to the error below upon accessing the instance
Run the command
docker compose down backendto put down the backend service.Run the command
docker compose up backendto put up the backend service.Access the instance.