This project utilizes the OpenWeather API to fetch weather data, saves the output in a JSON file, performs data transformations including fixing date formats, and inserts the processed data into a database.
- Clone this Github repository.
- Copy
.env-dist-prod
to.env
in the root directory. ๐ - Update the Airflow password ๐ in the
.env
file. - Navigate to the
service
folder ๐ and ensure the API key is correctly set in the.env
file.
- Ensure Docker is installed on your system.
- Move to finix_airflow folder ๐
- Run the following command to start the Docker container:
sudo docker-compose -f docker-compose.yaml up --build -d
-
For more information on Airflow, visit the official Airflow repository.
-
Below is an image of Airflow for reference:
Airflow Image
- Remember to copy
.env-dist-prod
to.env
before starting the Docker container. ๐ - Make sure to update necessary configurations in both
.env
files.๐ - For any issues or questions, please refer to the project's documentation or contact the project maintainers.
๐ค๏ธ Happy Weather Data Processing! ๐ฆ๏ธ