Versions Compared

Key

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

...

  1. Install Bahmni.

  2. Download ndhm artefact and place it at /var/www/

    Code Block
    #Download ndhm artefact
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/ndhm.zip
    
    unzip ndhm.zip -d ndhm
    mv ndhm /var/www/
    chown bahmni:bahmni /var/www/ndhm
  3. Download Bahmniapps artefact and place it at /var/www/

    Code Block
    #Download bahmnniapps artefact
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/bahmniapps.zip
    
    unzip bahmniapps.zip -d bahmniapps
    mv bahmniapps /var/www/
    chown bahmni:bahmni /var/www/bahmniapps
  4. Download bahmni_config artefact and place it at /var/www/

    Code Block
    #Download bahmni_config artefact
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/bahmni_config.zip
    
    unzip bahmni_config.zip -d bahmniapps
    mv bahmni_config /var/www/
    chown bahmni:bahmni /var/www/bahmni_config
  5. Download hip omod artefact and place it at /opt/openmrs/modules

  6. Code Block
    #Download hip artefact
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/hipmodule.omod
    
    mv hipmodule.omod /opt/openmrs/modules/
    chown bahmni:bahmni /opt/openmrs/modules/hipmodule.omod
  7. Deploy the following dependencies as well.

    Code Block
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/fhir2-omod-1.0.0-SNAPSHOT.omod
    
    mv fhir2-omod-1.0.0-SNAPSHOT.omod /opt/openmrs/modules/
    chown bahmni:bahmni /opt/openmrs/modules/hir2-omod-1.0.0-SNAPSHOT.omod
  8. Code Block
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/Jackson-annotations-2.10.0.jar
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/Jackson-databind-2.10.0.jar
    yum https://github.com/Bahmni-Covid19/ndhm-react/releases/download/Release_v1/Jackson-core-2.10.0.jar 
    
    mv Jackson-annotations-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/
    mv Jackson-databind-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/
    mv Jackson-core-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/

    1. Hip omod requires Jackson-core-2.10.0.jar (To be placed in /opt/openmrs/openmrs/WEB-INF/lib/)

    2. Jackson-annotations-2.10.0.jar  To be placed in /opt/openmrs/openmrs/WEB-INF/lib/

    3. Jackson-databind-2.10.0.jar  To be placed in /opt/openmrs/openmrs/WEB-INF/lib/

    4. fhir2-omod-1.0.0-SNAPSHOT.omod (To be placed in /opt/openmrs/modules/)

  9. Pull down hip-service image (bahmnicovid19/health-information-provider:latest), hiu-backend(bahmnicovid19/health-information-user:latest), hiu ui( bahmnicovid19/hiu-ui:latest) from docker hub

  10. Run the following command to restart openmrs:

    Code Block
    systemctl restart openmrs
  11. Update /etc/httpd/conf.d/ssl.conf file to have the following

    Code Block
    Alias  /ndhm /var/www/ndhm
  12. Restart httpd service

    Code Block
    systemctl restart httpd
  13. Use the following docker-compose.yml for hip , docker-compose.yml for HIU and docker-compose.yml for HIU_UI to start up the containers:

...