-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_dev.bat
More file actions
38 lines (31 loc) · 892 Bytes
/
start_dev.bat
File metadata and controls
38 lines (31 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
echo Starting VoIP Tracer Development Environment...
echo.
REM Check if we're in the right directory
if not exist "src\api.py" (
echo Error: Please run this script from the VoIP Tracer root directory
pause
exit /b 1
)
REM Check if frontend directory exists
if not exist "frontend" (
echo Error: Frontend directory not found
pause
exit /b 1
)
echo Backend will be available at: http://localhost:8000
echo Frontend will be available at: http://localhost:5173
echo API documentation at: http://localhost:8000/docs
echo.
echo Press Ctrl+C to stop services
echo.
REM Start backend in a new window
start "VoIP Tracer Backend" cmd /k "python -m uvicorn src.api:app --host 0.0.0.0 --port 8000 --reload"
REM Wait a bit for backend to start
timeout /t 3 /nobreak >nul
REM Start frontend
cd frontend
npm run dev
echo.
echo Development environment stopped.
pause