Family public law's implementation of the CCD template
- Docker
- realpath-osx (Mac OS only)
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.
To ensure you have the correct dependencies run yarn install
in the command line.
To run code linting enter yarn lint
in the command line.
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.
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
See fpl-service for more information.
This project is licensed under the MIT License - see the LICENSE file for details.