The Apply for Divorce Petitioner Frontend.
Configure your local docker daemon with the settings documented in reform/docker.
To build the docker containers afresh:
make build
To install NPM dependencies:
make install
This installs the dev dependencies to your local folder.
make dev
All commands from the package.json are available through make. They will be run inside a docker container, ensuring a consistent dev environment.
For example:
make test
make test-unit
make test-e2e
make lint
...
If you have any problems configuring Docker locally, you can still run without using Docker locally. You need to have Yarn and Redis installed. This can be done with brew as follows:
brew install yarn
brew install redis
To run the front end app, run the following from the front end project root folder:
yarn add redis-server & yarn dev
The application will now be running on https://localhost:3000
.
To run the tests and lint, run the following:
yarn test
yarn lint