Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 898 Bytes

README.md

File metadata and controls

51 lines (32 loc) · 898 Bytes

cloud.gov.au www UI

Set up

Be sure to follow the steps in the project's README before proceeding.

Install dependencies:

yarn install

Requirements

Development

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 as https://www.system.d.cld.gov.au

Testing

yarn test

Before committing

Make sure the code formatter has run:

yarn format

Alternatively, configure your editor to run pretter on save.

Production

Build the frontend distribution:

yarn build