Be sure to follow the steps in the project's README before proceeding.
Install dependencies:
yarn install
- Node.js 9+ (use something like
n
to manage node versions locally) - Yarn
Start the server locally:
REACT_APP_API_ENDPOINT="" \
yarn start
- Set
REACT_APP_API_ENDPOINT
to the URL of the www API server. During development this would usually be a local server but for a faster frontend set up it can also be a running live service such ashttps://www.system.d.cld.gov.au
yarn test
Make sure the code formatter has run:
yarn format
Alternatively, configure your editor to run pretter
on save.
Build the frontend distribution:
yarn build