pogoda.by storm warning rss parser
Project description
===== Hazard_feed
Hazard_feed is a Django app to get storm warnings from http://www.pogoda.by conduct Web-based polls and send notifications by email to subscribed recipents.
Quick start
-
Add "hazard_feed", "corsheaders' and others to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'corsheaders', 'django_rq', 'tinymce', 'rest_framework', 'drf_yasg', 'hazard_feed', ]
-
Define next email settings in settings.py or your environment viriables: WEATHER_EMAIL_SMTP_HOST WEATHER_EMAIL_SMTP_PORT WEATHER_USE_TSL WEATHER_EMAIL_HOST_USER WEATHER_EMAIL_HOST_PASSWORD
-
Define in settings.py WEATHER_EMAIL_FROM
-
Add "corsheaders' settings to your settings.py
CORS_ORIGIN_ALLOW_ALL = True
-
Define django_rq settings
-
Start rqworker and rqscheduler
-
For websocket works add channels redis and configure it as channels documentation
-
Run
python manage.py migrate
to create the azard_feed models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hazard_feed-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3156100ef42a45351305c4307ef25843ff12c82fa54cdb473d158433b3ce84a |
|
MD5 | 20dff4fcf21578b9cdf338a8d72ebc26 |
|
BLAKE2b-256 | 85b26804194f5dbbf6a4849fdcacb2783e54e490cc5bdefc7db8b0e4d06e1759 |