diff --git a/__pycache__/app.cpython-313.pyc b/__pycache__/app.cpython-313.pyc index 584ed75..1ffc7ea 100644 Binary files a/__pycache__/app.cpython-313.pyc and b/__pycache__/app.cpython-313.pyc differ diff --git a/__pycache__/models.cpython-313.pyc b/__pycache__/models.cpython-313.pyc index 3844fb7..c1b78ea 100644 Binary files a/__pycache__/models.cpython-313.pyc and b/__pycache__/models.cpython-313.pyc differ diff --git a/utils/__pycache__/__init__.cpython-313.pyc b/utils/__pycache__/__init__.cpython-313.pyc index 032f9c9..a859c7c 100644 Binary files a/utils/__pycache__/__init__.cpython-313.pyc and b/utils/__pycache__/__init__.cpython-313.pyc differ diff --git a/utils/__pycache__/db_check.cpython-313.pyc b/utils/__pycache__/db_check.cpython-313.pyc index d3bf2ad..67999d1 100644 Binary files a/utils/__pycache__/db_check.cpython-313.pyc and b/utils/__pycache__/db_check.cpython-313.pyc differ diff --git a/utils/__pycache__/db_fix.cpython-313.pyc b/utils/__pycache__/db_fix.cpython-313.pyc index a3db687..f60885b 100644 Binary files a/utils/__pycache__/db_fix.cpython-313.pyc and b/utils/__pycache__/db_fix.cpython-313.pyc differ diff --git a/utils/__pycache__/db_rebuild.cpython-313.pyc b/utils/__pycache__/db_rebuild.cpython-313.pyc index 8e4ac13..e52baf0 100644 Binary files a/utils/__pycache__/db_rebuild.cpython-313.pyc and b/utils/__pycache__/db_rebuild.cpython-313.pyc differ diff --git a/utils/__pycache__/db_test.cpython-313.pyc b/utils/__pycache__/db_test.cpython-313.pyc index 098065f..39ed7c3 100644 Binary files a/utils/__pycache__/db_test.cpython-313.pyc and b/utils/__pycache__/db_test.cpython-313.pyc differ diff --git a/utils/__pycache__/server.cpython-313.pyc b/utils/__pycache__/server.cpython-313.pyc index e7a51f4..96ce9cd 100644 Binary files a/utils/__pycache__/server.cpython-313.pyc and b/utils/__pycache__/server.cpython-313.pyc differ diff --git a/utils/__pycache__/user_manager.cpython-313.pyc b/utils/__pycache__/user_manager.cpython-313.pyc index 398b652..6e8c411 100644 Binary files a/utils/__pycache__/user_manager.cpython-313.pyc and b/utils/__pycache__/user_manager.cpython-313.pyc differ diff --git a/check_schema.py b/utils/check_schema.py similarity index 100% rename from check_schema.py rename to utils/check_schema.py diff --git a/create_default_users.py b/utils/create_default_users.py similarity index 100% rename from create_default_users.py rename to utils/create_default_users.py diff --git a/fix_user_table.py b/utils/fix_user_table.py similarity index 100% rename from fix_user_table.py rename to utils/fix_user_table.py diff --git a/test_app.py b/utils/test_app.py similarity index 100% rename from test_app.py rename to utils/test_app.py diff --git a/windows_setup.bat b/windows_setup.bat deleted file mode 100644 index 2ffe6fa..0000000 --- a/windows_setup.bat +++ /dev/null @@ -1,58 +0,0 @@ -@echo off -echo Mindmap Projekt - Windows Setup -echo ============================== -echo. - -REM Prüfen, ob Python installiert ist -python --version >nul 2>&1 -if %errorlevel% neq 0 ( - echo Python ist nicht installiert oder nicht im PATH. - echo Bitte installiere Python 3.11 von https://www.python.org/downloads/ - echo und stelle sicher, dass "Add Python to PATH" während der Installation aktiviert ist. - pause - exit /b 1 -) - -echo Erstelle virtuelle Umgebung... -python -m venv venv -if %errorlevel% neq 0 ( - echo Fehler beim Erstellen der virtuellen Umgebung. - pause - exit /b 1 -) - -echo Aktiviere virtuelle Umgebung... -call venv\Scripts\activate.bat -if %errorlevel% neq 0 ( - echo Fehler beim Aktivieren der virtuellen Umgebung. - pause - exit /b 1 -) - -echo Aktualisiere pip... -python -m pip install --upgrade pip -if %errorlevel% neq 0 ( - echo Warnung: Pip konnte nicht aktualisiert werden. Fahre trotzdem fort. -) - -echo Installiere Abhängigkeiten... -pip install -r requirements.txt -if %errorlevel% neq 0 ( - echo Fehler beim Installieren der Abhängigkeiten. - pause - exit /b 1 -) - -echo. -echo Setup abgeschlossen! -echo. -echo Zum Starten des Servers: -echo 1. Führe "venv\Scripts\activate.bat" aus -echo 2. Führe "python TOOLS.py db:rebuild" aus (Nur beim ersten Mal oder zum Zurücksetzen der Datenbank) -echo 3. Führe "python TOOLS.py user:admin" aus (Erstellt einen Admin-Benutzer: admin/admin) -echo 4. Führe "python TOOLS.py server:run" aus -echo. -echo Die Anwendung ist dann unter http://localhost:5000 erreichbar. -echo. - -pause \ No newline at end of file