update
This commit is contained in:
39
AzA march 2026/start_all.bat
Normal file
39
AzA march 2026/start_all.bat
Normal 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
|
||||
Reference in New Issue
Block a user