On Docker#
Install Docker and docker-compose based on your operating system .
Steps to run the Belize simulation in a docker environment
Clone the gcbm-container branch of GCBM Belize using the command
git clone -b gcbm-container https://github.com/moja-global/gcbm.belize
Navigate into GCBM.Belize
cd gcbm.belize
Use docker-compose to build the image
docker-compose up -d
Run the container using the command
docker exec -it gcbm-belize /bin/bash
Inside the running docker container, run
cd /server/gcbm_project
Start the simulation using
/opt/gcbm/moja.cli --config_file gcbm_config.cfg --config_provider provider_config.json
If there are existing images cached on your machine you may need to docker pull ghcr.io/moja-global/rest_api_gcbm:master and build the container using docker-compose -d –force-recreate