-
Notifications
You must be signed in to change notification settings - Fork 7
Development Environment Setup and Configurations
- A GitHub account
- Git installed
- Docker installed with 8GB+ memory assigned to it
- Ask a team member for copies of idam and shared-db private images. A few of us have these as it reduces the wait time and allows new developers have their environments setup whilst waiting to get access to the different services we use.
-
Clone the FPLA project. From the terminal run
git clone https://github.com/hmcts/fpl-ccd-configuration.git
-
Change directory into the just cloned project by running
cd fpl-ccd-configuration
-
Initialise the
fpla-docker
repository, run the below two commandsgit submodule init
git submodule update
-
Copy over the private docker images (see prerequisites) into this (ccd-docker) directory
-
Change directory into the
fpla-docker
(You should be infpl-ccd-configuration
at this point) and load the private docker images copied in the previous step. Images can be loaded by runningdocker load -i [IMAGE_NAME]
-
Whilst still in
fpla-docker
directory, run the following commands./ccd enable backend frontend sidam sidam-local sidam-local-ccd dm-store
docker network create ccd-network
./ccd compose up -d
./bin/document-management-store-create-blob-store-container.sh
-
Now navigate to parent directory,
cd ..
-
Add required services,
[email protected] IDAM_ADMIN_PASSWORD=**ASK A TEAM MEMBER FOR THE VALUE** ./bin/configurer/add-services.sh
-
Add roles,
[email protected] IDAM_ADMIN_PASSWORD=**ASK A TEAM MEMBER FOR THE VALUE** ./bin/configurer/add-roles.sh
-
Add users,
./bin/configurer/add-users.sh
-
Enable CCD definitions,
./bin/import-ccd-definition.sh
-
Generate custom user mappings
./bin/generate-local-user-mappings.sh
-
Give it 2-5 minutes (just enough time!) for services to initialise
-
Open a web browser and navigate to
http://localhost:3451
(for ccd web interface) orhttp://localhost:3333
(for ExUI).