Skip to content

ADv0rnik/weather_collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.10

Weather-collector

by Alex Dvornik (May 17, 2022)

The application allows to collect and process weather data in order to calculate Fire hazard index for forests in Gomel region (Belarus)

Usage

  1. Clone repository with the following command git clone https://github.com/ADv0rnik/weather_collector.git

  2. Run pip install -r requirements.txt in your virtual environment

  3. Run python manage.py runserver command to run server on the local machine

  4. The weather-collector is using Celery together with RabbitMQ to manage async tasks. Run the following commands:

docker run -d -p 6379:6379 redis

celery -A config worker -l info
celery -A config beat -l info
  1. To trigger the worker go to https://127.0.0.1:8000/. You are going to see "Loading data..." message

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published