Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aykhans/series-robot-web

A website that emails you when a new episode of the series is released
https://github.com/aykhans/series-robot-web

celery django email-verification imdb-api rabbitmq redis

Last synced: 7 days ago
JSON representation

A website that emails you when a new episode of the series is released

Awesome Lists containing this project

README

        

#### This website uses imdb api to send users new episode notifications of their recorded series via e-mail.

## Installition for Dev
**pip install -r requirements.txt

cd src/
**

add SECRET_KEY, EMAIL_HOST_PASSWORD to .env.example file

rename .env.example to .env

**python3 manage.py makemigrations account --settings=config.settings.development

python3 manage.py makemigrations series --settings=config.settings.development

python3 manage.py migrate --settings=config.settings.development
**

## Run for Dev
**python3 manage.py runserver --settings=config.settings.development**



## Run Periodic Tasks with RabbitMQ
### Installition RabbitMQ
**sudo apt-get install rabbitmq-server**

**sudo systemctl start rabbitmq-server**

### Run Celery
**celery -A config worker -l info**

**celery -A config beat -l info**


## Run Periodic Tasks with Redis
### **add these two settings to base settings**

**CELERY_BROKER_URL = "redis://localhost:6379"

CELERY_RESULT_BACKEND = "redis://localhost:6379"**
### Installition Redis
**sudo apt install redis**

**redis-server**

### Run Celery
**celery -A config worker -l info**

**celery -A config beat -l info**