tasks scheduler, news views, Obsolete code cleaning

This commit is contained in:
Luciano Gervasoni
2025-03-21 16:13:56 +01:00
parent 8050773906
commit 0c6b5f1ea4
27 changed files with 1051 additions and 1669 deletions

View File

@@ -2,8 +2,13 @@
```
conda create -n matitos_urls python=3.12
conda activate matitos_urls
pip install django psycopg[binary] django-redis django-rq
# Core
pip install django psycopg[binary] django-redis django-tasks-scheduler
# django-rq
# Fetcher
pip install feedparser python-dateutil newspaper4k lxml[html_clean] googlenewsdecoder gnews duckduckgo_search GoogleNews
# News visualization
pip install ollama
```
* From automated inspectdb
@@ -89,6 +94,8 @@ RQ_DEFAULT_RESULT_TTL=${RQ_DEFAULT_RESULT_TTL:-3600}
python manage.py inspectdb
# Migrations
python manage.py makemigrations api; python manage.py migrate --fake-initial
# Create user
python manage.py createsuperuser
```
* Deploy