From 3446d70e084075cd6d9de9bd89ea49adf5efab62 Mon Sep 17 00:00:00 2001 From: valueon Date: Sun, 16 Mar 2025 18:16:25 +0100 Subject: [PATCH] startup procedure fixed --- readme.md | 12 +++++++++++- requirements.txt | 6 +++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 306521fa..722bb24d 100644 --- a/readme.md +++ b/readme.md @@ -31,7 +31,7 @@ Das Projekt besteht aus zwei Hauptkomponenten: - `agent_service.py` - Multi-Agent-Orchestrierung - `requirements.txt` - Python-Abhängigkeiten -### Backend-Installation +### Backend-Installation Lokal 1. Virtuelle Umgebung erstellen und aktivieren: ```bash python -m venv venv @@ -54,6 +54,16 @@ Das Projekt besteht aus zwei Hauptkomponenten: - Backend API: `http://localhost:8000` - API-Dokumentation: `http://localhost:8000/docs` +### Installation inazure WEBAPP +Configuration: +- Python version <= 3.11 +- Startup command: cd gwserver && uvicorn app:app --host 0.0.0.0 --port 8000 +Environment varibales: +- Neue Variable PORT=8000 + + + + ### Datenbank-Migration Für größere Installationen die JSON-basierte Datenbank ersetzen durch: - PostgreSQL für relationale Daten diff --git a/requirements.txt b/requirements.txt index d2b9ae5a..f33a0e8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,9 +17,9 @@ cryptography>=40.0.2 # Required by jose # Utilities typing-extensions>=4.5.0 python-dateutil>=2.8.2 -uuid>=1.30 -tqdm>=4.65.0 # For progress tracking -pytz>=2023.3 # For timezone handling +#uuid>=1.30 +#tqdm>=4.65.0 # For progress tracking +#pytz>=2023.3 # For timezone handling # === Development and Testing Dependencies ===