wps
wps copied to clipboard
Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery
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
.envfile inwebusingweb/.env.exampleas a sample. - Create
.env.dockerfile inapi/appusingapi/app/.env.exampleas a sample. - Run
docker compose buildand 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 dbanddocker compose up redis
Running the api alone
Refer to api/README.md.
Running the front end alone
Refer to web/README.md
Documentation
- Database
- Devops
- Conventions
- Wildfire Glossary
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