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.
- Host: GitHub
- URL: https://github.com/aykhans/series-robot-web
- Owner: aykhans
- Created: 2022-08-24T13:36:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T20:17:56.000Z (5 months ago)
- Last Synced: 2025-02-05T21:28:47.168Z (5 months ago)
- Topics: celery, django, email-verification, imdb-api, rabbitmq, redis
- Language: Python
- Homepage:
- Size: 441 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```