Files
LinedanceAfspiller/linedance-api/start_local.bat
2026-04-13 07:23:37 +02:00

15 lines
357 B
Batchfile

@echo off
echo Starter LineDance API lokalt...
cd /d %~dp0
if not exist venv (
python -m venv venv
venv\Scripts\pip install -r requirements.txt
)
if not exist .env (
copy .env.example .env
echo.
echo VIGTIGT: Rediger .env med dine database-indstillinger!
pause
)
venv\Scripts\uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload