Skip to main content

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

  1. 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', ]

  2. 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

  3. Define in settings.py WEATHER_EMAIL_FROM

  4. Add "corsheaders' settings to your settings.py

    CORS_ORIGIN_ALLOW_ALL = True

  5. Define django_rq settings

  6. Start rqworker and rqscheduler

  7. For websocket works add channels redis and configure it as channels documentation

  8. Run python manage.py migrate to create the azard_feed models.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hazard-feed, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size hazard_feed-0.2.5-py3-none-any.whl (202.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hazard-feed-0.2.5.tar.gz (188.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page