Skip to content

Family Public Law's implementation of the CCD template

License

Notifications You must be signed in to change notification settings

hmcts/fpl-ccd-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpl-ccd-configuration

Family public law's implementation of the CCD template

Contents:

Prerequisites:

Run command:

git submodule init
git submodule update

Creating and starting containers:

./ccd compose up -d

Add users and roles:

$ ./bin/add-users-and-roles.sh

Load CCD definition:

CCD definition is stored in JSON format. To load it into CCD instance please run:

$ ./bin/import-ccd-definition.sh

Note: Above script will export JSON content into XLSX file and upload it into instance of CCD definition store.

Getting Started:

To ensure you have the correct dependencies run yarn install in the command line.

Code Style:

To run code linting enter yarn lint in the command line.

Testing:

E2E tests are configured to run in parallel in 3 headless browsers by default.

To run e2e tests enter yarn test in the command line.

Optional configuration

To run all tests only in one browser please set PARALLEL_CHUNKS environment variable to 1.

PARALLEL_CHUNKS=1 yarn test

To show tests in browser window as they run please set SHOW_BROWSER_WINDOW environment variable to true.

SHOW_BROWSER_WINDOW=true yarn test

Service:

See fpl-service for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.