Firewatcher gets its data from the fogos.pt API and is mostly a simple wrapper around it. Due to the nature of the API, the bot is only able to provide information about wildfires in Portugal.
-
Clone the repository:
git clone https://github.com/Dy0gu/Firewatcher.git
-
Install Python 3.12 or higher.
-
Install all dependencies:
pip install -r requirements.txt
-
Create a
.env
file based on the.env.example
file.
-
Run the app:
python bot.py
To run in a containerized environment use the provided Dockerfile
, the runner machine only needs to have Docker installed.
There is still the need to create a .env
file before the build, since its contents need to be included in the image.
-
Build the image:
docker build -t firewatcher .
-
Run the container:
docker run -d firewatcher