Add browser-based web MVP with mobile upload flow
This commit is contained in:
22
start_web.cmd
Normal file
22
start_web.cmd
Normal file
@@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
REM PDF zu ICS Web-MVP starten (Windows)
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist ".venv" (
|
||||
echo 📦 Python-Umgebung wird eingerichtet...
|
||||
py -3 -m venv .venv --upgrade-deps
|
||||
if errorlevel 1 (
|
||||
python -m venv .venv --upgrade-deps
|
||||
)
|
||||
)
|
||||
|
||||
.venv\Scripts\python.exe -c "import fastapi" 2>nul
|
||||
if errorlevel 1 (
|
||||
echo 📚 Installiere Web-Abhängigkeiten...
|
||||
call .venv\Scripts\python.exe -m pip install -q -r web\requirements-web.txt
|
||||
)
|
||||
|
||||
echo 🌐 Starte Web-App auf http://0.0.0.0:8000
|
||||
call .venv\Scripts\python.exe -m uvicorn web.app:app --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user