Refactor searches, env vars fetcher config, urls webpage update

This commit is contained in:
Luciano Gervasoni
2025-04-02 18:45:43 +02:00
parent 077219fcb6
commit 84da104dc8
22 changed files with 676 additions and 1521 deletions

View File

@@ -1,38 +1 @@
# Requirements
```
conda create -n matitos python=3.12
conda activate matitos
pip install ipykernel django requests ollama psycopg[binary] # openai
```
# Development
* app_web
```
# 1) Change models.py
python manage.py inspectdb
# 2)
python manage.py makemigrations
# 3)
python manage.py migrate --fake
# ?
python manage.py migrate --fake sessions zero
python manage.py migrate --fake-initial
python manage.py createsuperuser
```
* app_img_gen
```
docker build -t image_generation .
docker run --rm -it -p 12343:80 image_generation
```
# Deploy
```
python app_web/manage.py runserver
```
# Matitos