From 721a10e86102fe8d5ddc31a62ec0b303d3a1cad4 Mon Sep 17 00:00:00 2001 From: Till Tomczak Date: Wed, 30 Apr 2025 15:33:39 +0200 Subject: [PATCH] =?UTF-8?q?Entferne=20nicht=20mehr=20ben=C3=B6tigte=20Skri?= =?UTF-8?q?pte:=20L=C3=B6sche=20die=20Dateien=20check=5Fschema.py,=20creat?= =?UTF-8?q?e=5Fdefault=5Fusers.py,=20fix=5Fuser=5Ftable.py,=20test=5Fapp.p?= =?UTF-8?q?y=20und=20windows=5Fsetup.bat,=20um=20die=20Projektstruktur=20z?= =?UTF-8?q?u=20optimieren=20und=20veraltete=20Komponenten=20zu=20entfernen?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __pycache__/app.cpython-313.pyc | Bin 69414 -> 69402 bytes __pycache__/models.cpython-313.pyc | Bin 22756 -> 22744 bytes utils/__pycache__/__init__.cpython-313.pyc | Bin 969 -> 957 bytes utils/__pycache__/db_check.cpython-313.pyc | Bin 2946 -> 2934 bytes utils/__pycache__/db_fix.cpython-313.pyc | Bin 3778 -> 3766 bytes utils/__pycache__/db_rebuild.cpython-313.pyc | Bin 3811 -> 3799 bytes utils/__pycache__/db_test.cpython-313.pyc | Bin 5851 -> 5839 bytes utils/__pycache__/server.cpython-313.pyc | Bin 1903 -> 1891 bytes .../__pycache__/user_manager.cpython-313.pyc | Bin 8275 -> 8263 bytes check_schema.py => utils/check_schema.py | 0 .../create_default_users.py | 0 fix_user_table.py => utils/fix_user_table.py | 0 test_app.py => utils/test_app.py | 0 windows_setup.bat | 58 ------------------ 14 files changed, 58 deletions(-) rename check_schema.py => utils/check_schema.py (100%) rename create_default_users.py => utils/create_default_users.py (100%) rename fix_user_table.py => utils/fix_user_table.py (100%) rename test_app.py => utils/test_app.py (100%) delete mode 100644 windows_setup.bat diff --git a/__pycache__/app.cpython-313.pyc b/__pycache__/app.cpython-313.pyc index 584ed75b04e78286390d52aa0d6022788de67146..1ffc7eaad8ca2530b61afa4d26d1d53d9159859c 100644 GIT binary patch delta 53 zcmZ2Bk7d?87Ou~{yj%=Gu<_4Et`DM88qQWRp~b01#W5iv{=Uvpj(V=Xu8uJ-sb!lL I#MpiU0MWk@X8-^I delta 65 zcmbO=k7e0B7Ou~{yj%=GkfgDZ>w~D8iL+HqXmM&$aZFlfQEG0COKNd;Nq#|$p`l@n Te@0%aLP%ywYR+a6F}9xor;!z{ diff --git a/__pycache__/models.cpython-313.pyc b/__pycache__/models.cpython-313.pyc index 3844fb7e1534e18f1d85af0fb16a249543141e21..c1b78ea04ab8a1be8fb5e42a0187c1ee6b3c730e 100644 GIT binary patch delta 53 zcmaE|k@3bxMy}7iyj%=Gu<_4EE*=gkZD*^P(Bjmh;+T*Se_!V)M?F_xSH~Ea)UwSs H94i6<(ohi` delta 65 zcmcbyk@3k!My}7iyj%=Guvugy7Y~P;xwBPFXmM&$aZFlfQEG0COKNd;Nq#|$p`l@n Te@0%aLP%ywYR+Z@juim_ut*i3 diff --git a/utils/__pycache__/__init__.cpython-313.pyc b/utils/__pycache__/__init__.cpython-313.pyc index 032f9c9530af7c4b68be6745bd7483f29ea7e786..a859c7cb17343bf8d15d473c2c0050136ed63931 100644 GIT binary patch delta 53 zcmX@fzL%Z%GcPX}0}yQdBbae&Bd;N|l(Dl_OlWaxQE^O2h`+CMl%t-jud8E>OKREV H6y{U_vfvPL delta 65 zcmdnXev+N{GcPX}0}z-O@ntO9$ZN=~X76kj6Iz^FR2-9*S(KU^%GlW|CbT%Us5mAh#NXFB%2ChN*VQq`CADm` IJ&Q9t0L0!9SO5S3 delta 66 zcmew+)+EmRnU|M~0SL^C_%fz$kyG@qwGcPX}0}yQdBbdR(y^*hmNy^aKDkiizwWv5IB*fp>Im%Jb)z{TA#wE3E J^9Cj%9ss{t5J&(3 delta 67 zcmdlcdq|e=GcPX}0}z-O@n!7g+Q?VKq-N`E6%$&VT2vg9mRXdV8{?8%oL!P%5MyX) V7~`Ljm#PqwS(2Kwc?pvc4*;-S6QDkiizwWv5IEwd;!H^wEkIJ+djAjZ(p VFvdS4FI6EVvm`ZV^DVBw%mCHE7ajlr diff --git a/utils/__pycache__/db_test.cpython-313.pyc b/utils/__pycache__/db_test.cpython-313.pyc index 098065ff390d79fed48640ef40b2a0bbebd400d3..39ed7c36894b03b1a5ede3e6f6822cf7b268c244 100644 GIT binary patch delta 55 zcmcbudtR6CGcPX}0}yQdBbcGYzmboRRm#ZODkiizwWv5IB*fp>Im%Jb)z{TA#wE3E JvlHt~K>)?`5N!Ye delta 67 zcmX@Fds~<9GcPX}0}z-O@nx*$+sMbqs%GbG6%$&VT2vg9mRXdV8{?8%oL!P%5MyX) V7~`Ljm#PqwS(2Kw*^G6jAONoN6;}WN diff --git a/utils/__pycache__/server.cpython-313.pyc b/utils/__pycache__/server.cpython-313.pyc index e7a51f447a5f472f0d11d580a82bb492270f0b86..96ce9cd916b3a236b1dd64ee274eff7fd5013cb9 100644 GIT binary patch delta 54 zcmaFQ_n43OGcPX}0}yQdBbc#gBkyl!DMM$gn9$OKREX IM$SuO0OD5>%m4rY delta 66 zcmX@^aM^+PGcPX}0}z-O@nwi?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