This commit is contained in:
2026-03-25 22:03:39 +01:00
parent a0073b4fb1
commit faf4ca10c9
5603 changed files with 1030866 additions and 79 deletions

View File

@@ -0,0 +1,39 @@
@echo off
title AZA / MedWork Starter (RESET)
setlocal EnableExtensions DisableDelayedExpansion
cd /d "%~dp0"
set "PYTHON=C:\Users\surov\AppData\Local\Programs\Python\Python312\python.exe"
set "AZA_TLS_REQUIRE=0"
set "PORT=8001"
set "MEDWORK_BACKEND_URL=http://127.0.0.1:%PORT%"
>"%~dp0backend_url.txt" echo %MEDWORK_BACKEND_URL%
REM Token aus Datei lesen und als ENV setzen (ohne Echo des Tokens)
set /p MEDWORK_API_TOKEN=<"%~dp0backend_token.txt"
echo.
echo ==========================================
echo RESET START
echo ==========================================
echo Folder: %~dp0
echo Python: %PYTHON%
echo URL: %MEDWORK_BACKEND_URL%
echo TLS: %AZA_TLS_REQUIRE%
echo Token: (gesetzt)
echo.
echo Starte Backend...
start "MedWork Backend" /D "%~dp0" "%PYTHON%" -u backend_main.py
timeout /t 2 >nul
echo Starte Client...
start "MedWork Client" /D "%~dp0" "%PYTHON%" -u basis14.py
echo.
echo Fertig. (Falls nichts sichtbar ist: Alt+Tab)
echo.
endlocal