A mediator scaffolding to be used for tutorials
OpenHIM Bootstrap Mediator Scaffold
This mediator requires an accessible OpenHIM core instance before it can successfully start up.
From the project directory run:
docker build -t scaffold .
docker run --network {network-name} -p 3000:3000 --name scaffold scaffold
The network flag is optional. If connecting to a specific docker network find the network name by running:
docker network ls
Environmental variables can be included using the -e
flag. For example:
docker run --network {network-name} -p 3000:3000 --name scaffold -e OPENHIM_TRUST_SELF_SIGNED=true scaffold
From the project directory run:
npm install
npm start