...
Create a Project Directory:
Create a directory for the project on your local machine.
Navigate to the created directory.
Clone the Repository:
Open Visual Studio Code (VS Code) within the project directory.
Clone the repository using the following command
git clone https://github.com/SIGDEP-3/SIGDEP-3-Docker-Setup.git
Change into the project directory:
cd SIGDEP-3-Docker-Setup/
Review Docker Configuration:
Open the
docker-docker-local-pilot.yml
file to review the services configured:Sigdep3: Configures the OpenMRS service.
Sigdep3-db: Configures the OpenMRS database.
OpenHIM IOL: Configures MongoDB, OpenHIM console, and OpenHIM core.
Pipeline-controller: Configures FHIR analytics.
Start the Project:
Run the following command to start the services:
sudo docker compose -f docker-compose-local-1.yml up
...
How to Start the OpenMRS Instance Locally
Start OpenMRS:
Open a new terminal and run:
Code Block bash
Copy code
sudo docker compose -f docker-compose-local-pilot.yml up sigdep3 sigdep-db
Access the OpenMRS Login Page:
Open a browser and navigate to
http://localhost:8080/openmrs
.If prompted to initialize the database, wait a few minutes.
Login and Configure Search Index:
Login with
admin
andAdmin123
.Navigate to
Administration > Maintenance > Search Index
.Click on
Rebuild Search Index
.
...
To get started with setting up the project locally, create a directory for the project on your local machine and change directory to the created project.
...