Local development environment setup for Family private law
This is designed to work on Mac or Linux.
The following packages are required:
- docker
- docker-compose
- azure-cli
- postgres-client
- node.js and yarn
- java 11
Note that a VPN is required as this environment uses multiple services in the AAT environment.
Also, you will need access to azure key vault. Please contact a member of private law team to gain access.
If you're running on macOS install the following via brew:
brew install coreutils azure-cli libpq
brew link --force libpq
brew install --cask dockerMake sure that Docker has been given at least 9GB of RAM.
The init script will clone the prl ccd definition repository into sub-folders, start the CCD services and import the definition file. Then environment will then shut down and be ready for use.
./bin/init.shOnce everything has started you will be able to use the logins found in the .env file for:
- http://localhost:3000 XUI Case manager: login
IDAM_TEST_SOLICITOR_USERNAME/PASSWORD
Please note that the Java APIs must be assembled with ./gradlew assemble before starting the environment.
./bin/start.shYou can then log in to XUI going to http://localhost:3000/.
To stop docker containers execute below script. This will bring down all docker containers.
./bin/stop.shImport changes to the CCD definition file by running:
./bin/utils/ccd-import-definition.sh