Move dev servers to ports 8002 and 5172

Backend now runs on 8002 and the frontend dev server on 5172, with the
proxy, CORS origins and the run_*.bat launchers updated to match. The
launchers also activate the venv so they work from a clean shell.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-18 18:56:08 +03:00
parent ac6b1f48b4
commit 19945dae19
6 changed files with 15 additions and 7 deletions
+4 -2
View File
@@ -1,2 +1,4 @@
cd .\backend\
uvicorn scalesapp.asgi:application --host 127.0.0.1 --port 8000 --reload
@echo off
call "%~dp0.venv\Scripts\activate.bat"
cd /d "%~dp0backend"
uvicorn scalesapp.asgi:application --host 127.0.0.1 --port 8002 --reload