Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a Project Directory:

    • Create a directory for the project on your local machine.

    • Navigate to the created directory.

  2. 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/

  3. 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.

  4. 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

  1. 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

  2. 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.

  3. Login and Configure Search Index:

    • Login with admin and Admin123.

    • Navigate to Administration > Maintenance > Search Index.

    • Click on Rebuild Search Index.

...

  1. 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.

...