Health Gateway is a system that allows a citizen to authorize the tranfer of his/her clinical data from a Source to a Destination
To run Health Gateway locally you will need docker [https://www.docker.com/] and docker-compose. The development environment we'll run, with all the hgw services, one Destination and one Source. To run the HGW follow this steps
-
Clone the repository
-
Create the development certs:
- move into certs/ dir and then follow one of the two steps
- METHOD 1: run the script
generate_development.sh
. This will create a ca/ directory with all the necessary files - METHOD 2: if you don't have bash (i.e., you're using Windows) you can build the docker images by running
docker build -t hgw_certs and .
- METHOD 1: run the script
- move into certs/ dir and then follow one of the two steps
-
Move to
docker/environments/integration
directory and launchmake_run_with_tscns
to run all the services
To make the development environment work you need to add the following entries to your file host:
- 127.0.0.1 consentmanager
- 127.0.0.1 destinationmockup
- 127.0.0.1 spid-testenv-identityserver
- 127.0.0.1 spid-testenv-backoffice
- 127.0.0.1 hgwbackend
- 127.0.0.1 hgwfrontend
- 127.0.0.1 kafka