Example: DRC EMR: Offline or Air-Gapped Installations SOP
Overview
In situations where the instance running the project is not connected to the internet we provide pre-packaged images which can be loaded on the instance. To obtain the image check under the Releases section and download the path-drc-emr-images-bundle.tgz file.
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
Internet Connectivity
Not required. Implementors are advised to download the path-drc-emr-images-bundle.tgz , the docker-compose.yml and the docker-compose-restore.yml file on a flush disk and copy the files to the offline environment. The actual installation does not require internet connectivity
Getting Started with Offline Installation
Create a folder on your environment
Copy the docker-compose.yml, docker-compose-restore.yml and the path-drc-emr-images-bundle.zip files to the folder
Open the folder on terminal. A simple list command shows the content of the folder
Unzip the bundled images by typing the command:
unzip path-drc-emr-images-bundle.zip
List the content of the folder the bundled images that have been unzipped have a .tgz extention
Unzip the .tgz extension bundle containing the images by typing the command:
List the content of the folder and change the directory to the folder that contains the unzipped images.
List the content of the folder then load the images by typing the command:
./load-images.sh
images will be loaded successfully
Change directory back to the installation folder and type the command:
docker compose upthe offline containers will be spined up. Notice the machine does not require an internet connection
OpenMRS Legacy UI is accessible at http://localhost/openmrs
Upon successful installation the login page will be displayed
The new OpenMRS UI is accessible at http://localhost/openmrs/spa