This repository contains the code necessary to build the navigator-frontend
container.
These containers are pushed into AWS ECR (see ci.yml
) and are used as part of
the CPR application deployment.
(see https://github.com/climatepolicyradar/navigator-infra)
Run make
or make THEME=cclw
- make
- Docker
- Trunk.io (for code quality)
- Node
If you do not already have trunk.io installed on your machine, run make install_trunk
to install.
Local development can be done via Docker or manual installation.
See the .env.example
file for details of configuration environment variables.
This project is tested with BrowserStack.
If you have not yet run an install for the repo
npm install
Create a .env file
cp .env.example .env
Run project locally
npm run dev
or
yarn dev
Set the 'theme' to run the appropriate environment/app i.e. to run the cclw app locally update the .env file to 'THEME=cclw' or run the following:
THEME=cclw npm run dev