Ensure all docker containers are up and running:
$ docker compose up -d
Which should start the following containers: (verify with $ docker ps
if necessary)
- postgres
Start the service ensuring the local spring boot profile is set:
$ ./gradlew bootRun --args='--spring.profiles.active=local'
NB. All REST endpoints are secured with the role ROLE_VIEW_PRISONER_DATA
which will need to be passed to the endpoint as an OAuth token.
Builds and deployments are setup in Circle CI
and configured in the config file.
Helm is used to deploy the service to a Kubernetes Cluster using templates in the helm_deploy
folder.