Haiti HIE

Installation


The following components are required for setting the Haiti HIE:

Steps to install Haiti HIE

  1. Install Docker if not available

  2. Docker engine:

  3. Docker compose:

  4. Clone the SEDISH repository: git clone

  5. Switch to the branch openhieV2

  6. Edit the reverse proxy to point to the domain name of your server.

  7. Download the architecture specific instant CLI executable In the root folder of the cloned repository,run ./get-cli.sh. This downloads the architecture specific instant CLI executable and saves it in the root directory.This allows the CLI to be run with the ./instant command. The above command creates three folders and you need only one basing on your operating system.We will concentrate on the instant-linux folder which you can rename to instant

  8. Test that you can now run the CLI with the instant command Run ./instant,this should return a list of the available commands

  9. Initialise docker swarm by running docker swarm init

  10. You can now start launching the packages. Start by launching the reverse proxy since its depended on by many other packages for instance run ./instant package init -n reverse-proxy-nginx --env-file .env

  11. You can now run any package that you want to start for instance; run ./instant package init -n addpackagenamehere --env-file .env

  12. Testing and Validation
    Setup a Postman environment pointing to the server you setup and run tests to confirm that services start as required using this workspace https://www.postman.com/itechuw/workspace/haiti-sedish