The building blocks of our wildfire detection & monitoring API.
You can run the app container using this command:
make run
You can now navigate to http://localhost:8050/
to interact with the app.
In order to stop the service, run:
make stop
- Docker
- Docker compose
- Poetry
- Make (optional)
The project was designed so that everything runs with Docker orchestration (standalone virtual environment), so you won't need to install any additional libraries.
In order to run the project, you will need to specific some information, which can be done using a .env
file.
This file will have to hold the following information:
API_URL
: URL to the endpoint of Pyronear Alert APIAPI_LOGIN
: your login for the APIAPI_PWD
: your password for the API
Optionally, the following information can be added:
SENTRY_DSN
: the URL of the Sentry project, which monitors back-end errors and report them back.SENTRY_SERVER_NAME
: the server tag to apply to events.DEBUG
: whether the app is in debug or production mode
So your .env
file should look like something similar to:
API_URL='https://alert.mydomain.com/api'
API_LOGIN='forest_saver'
API_PWD='ILoveForest!'
SENTRY_DSN='https://replace.with.you.sentry.dsn/'
SENTRY_SERVER_NAME=my_storage_bucket_name
The file should be placed at the root folder of your local copy of the project.
Distributed under the Apache 2.0 License. See LICENSE
for more information.