2022-10-15 03:23:08 +04:00
2022-10-14 23:04:15 +00:00
2022-10-15 00:03:43 +04:00
2022-10-01 17:55:04 +04:00
2022-10-15 03:23:08 +04:00
2022-10-14 23:04:15 +00:00
2022-10-14 23:04:15 +00:00
2022-10-01 23:10:30 +04:00
2022-10-14 23:04:15 +00:00
2022-10-01 23:10:30 +04:00

https://ayxan.pythonanywhere.com

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

Description
A website that emails you when a new episode of the series is released.
Readme 487 KiB
Languages
Python 63.1%
HTML 29.4%
Shell 3.9%
CSS 3.1%
Dockerfile 0.5%