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

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: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# ATTENTION: DEPRECATED!
This project has been deprecated because the `imdb-api.com` service it used to retrieve series data has been discontinued.



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

## Installition for Dev (Debian based OS)
```sh
pip install -r requirements.txt
cd src/
```

add SECRET_KEY, EMAIL_HOST_PASSWORD to .env.example file

rename .env.example to .env

```sh
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
```sh
python3 manage.py runserver --settings=config.settings.development
```
## Run Periodic Tasks with RabbitMQ
### Installition RabbitMQ
```sh
sudo apt-get install rabbitmq-server
sudo systemctl start rabbitmq-server
```
### Run Celery
```sh
celery -A config worker -l info
celery -A config beat -l info
```
## Run Periodic Tasks with Redis
### **add these two settings to base settings**

```sh
CELERY_BROKER_URL = "redis://localhost:6379"
CELERY_RESULT_BACKEND = "redis://localhost:6379"
```
### Installition Redis
```sh
sudo apt install redis
redis-server
```
### Run Celery
```
celery -A config worker -l info
celery -A config beat -l info
```