This is a Java based Spring Boot application hosted on MOJ Cloud Platform.
The docker-compose.override.yml
is encrypted using git-crypt.
To run the app locally you need to be able to decrypt this file.
You will first need to create a GPG key. See Create a GPG Key for details on how to do this with GPGTools
(GUI) or gpg
(command line).
You can install either from a terminal or just download the UI version.
brew update
brew install gpg
brew install git-crypt
Once you have done this, a team member who already has access can add your key by running git-crypt add-gpg-user USER_ID
* and creating a pull request to this repo.
Once this has been merged you can decrypt your local copy of the repository by running git-crypt unlock
.
*USER_ID
can be your key ID, a full fingerprint, an email address, or anything else that uniquely identifies a public key to GPG (see "HOW TO SPECIFY A USER ID" in the gpg man page).
The apps should then startup cleanly if you run
Clone Repository
git clone git@github.com:ministryofjustice/laa-dces-drc-integration.git
cd laa-dces-drc-integration/dces-drc-integration
Make sure all tests are passed by running following ‘gradle’ Command
./gradlew clean test
You will need to build the artifacts for the source code, using gradle
.
./gradlew clean build
docker-compose build
docker-compose up
laa-dces-drc-integration application will be running on http://localhost:8089, with the actuator available at http://localhost:8188/actuator/