17 lines
579 B
Batchfile
17 lines
579 B
Batchfile
@echo off
|
|
REM Launch req-planner: backend (FastAPI) + frontend (Angular)
|
|
|
|
echo Starting backend on http://localhost:8100 ...
|
|
start "req-planner-backend" /D "%~dp0backend" cmd /c ".venv\Scripts\python -m uvicorn app.main:app --reload --port 8100"
|
|
|
|
echo Starting frontend on http://localhost:4200 ...
|
|
start "req-planner-frontend" /D "%~dp0frontend" cmd /c "npx ng serve"
|
|
|
|
echo.
|
|
echo req-planner running:
|
|
echo Frontend: http://localhost:4200
|
|
echo Backend: http://localhost:8100
|
|
echo API docs: http://localhost:8100/docs
|
|
echo.
|
|
echo Close the spawned windows to stop services.
|