Awesome
Wildfire Predictive Services
Description
Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery.
Getting Started
Dependencies
Installing
Running the application locally in docker:
- Create
.env
file inweb
usingweb/.env.example
as a sample. - Create
.env.docker
file inapi/app
usingapi/app/.env.example
as a sample. - Run
docker compose build
and thendocker compose up
- Open http://localhost:8080 to view the front end served up from a static folder by the python api.
- Open http://localhost:3000 to view the front end served up in developer mode by node.
Developing the application in a dev container, using vscode:
- Open up the project:
Remote-Containers: Open Folder in Container
, select docker-compose.vscode.yml - Sometimes VSCode doesn't pick up you've changed the docker container:
Remote-Containers: Rebuild Container
- Install extensions into the container, as needed.
- You can point the API database to:
host.docker.internal
- You can start up other services outside of vscode, e.g.:
docker compose up db
anddocker compose up redis
Running the api alone
Refer to api/README.md.
Running the front end alone
Refer to web/README.md
Documentation
License
Apache 2.0 License - see the LICENSE.md
Contributing
PRs
Your Github PR is required to pass all our CI checks, including our test coverage threshold via CodeCov: https://docs.codecov.com/docs/about-code-coverage
Resources
- Issues
- ZenHub Board
- PEP8 and PEP20 coding conventions, but with 110 character line breaks
- Code of Conduct