add celery background tasks and redis server for celery, also modify django to use redis instead of postgres for caching for speed improvement and alleviating sql traffic

This commit is contained in:
badblocks 2025-05-19 18:23:19 -07:00
parent eeae7ae675
commit f530790f6c
9 changed files with 313 additions and 32 deletions

View file

@ -28,6 +28,7 @@ classifiers = [
]
dependencies = [
"asgiref==3.8.1",
"celery>=5.5.2",
"certifi==2022.12.7",
"cffi==1.17.1",
"charset-normalizer==3.0.1",
@ -37,6 +38,7 @@ dependencies = [
"django==5.1",
"django-allauth==65.0.2",
"django-browser-reload==1.17.0",
"django-celery-beat>=2.8.1",
"django-crispy-forms==2.3",
"django-daisy==1.0.13",
"django-debug-toolbar==4.4.6",
@ -58,6 +60,7 @@ dependencies = [
"pycparser==2.21",
"pyjwt==2.6.0",
"python3-openid==3.2.0",
"redis>=6.1.0",
"requests==2.28.2",
"requests-oauthlib==1.3.1",
"sqlparse==0.4.3",