-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_app.bat
More file actions
36 lines (31 loc) · 934 Bytes
/
start_app.bat
File metadata and controls
36 lines (31 loc) · 934 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
@echo off
echo ========================================
echo Starting Info Naut Application
echo ========================================
echo.
echo This will open 2 terminal windows:
echo 1. Backend (Python/FastAPI) on port 8000
echo 2. Frontend (Next.js) on port 3000/3001
echo.
echo Press any key to continue...
pause >nul
echo.
echo Starting Backend...
start "Info Naut Backend" cmd /k "%~dp0start_backend.bat"
echo Waiting 5 seconds for backend to initialize...
timeout /t 5 /nobreak >nul
echo Starting Frontend...
start "Info Naut Frontend" cmd /k "%~dp0start_frontend.bat"
echo.
echo ========================================
echo Application Starting!
echo ========================================
echo.
echo Backend: http://localhost:8000
echo Frontend: http://localhost:3000
echo API Docs: http://localhost:8000/docs
echo.
echo You can close this window.
echo The app is running in the 2 other windows.
echo.
pause