forked from bigwolfeman/Document-MCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-project-windows.bat
More file actions
33 lines (27 loc) · 1.05 KB
/
start-project-windows.bat
File metadata and controls
33 lines (27 loc) · 1.05 KB
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
@echo off
REM Document-MCP Start Script for Windows
REM This script opens two terminal windows - one for backend and one for frontend
echo Starting Document-MCP...
echo.
REM Get the project root directory
set PROJECT_ROOT=%~dp0
REM Start Backend in a new terminal window
echo Starting Backend (FastAPI on port 8000)...
start "Document-MCP Backend" cmd /k "cd /d "%PROJECT_ROOT%backend" && .venv\Scripts\activate && uv run uvicorn main:app --reload --host 0.0.0.0 --port 8000"
REM Wait a moment before starting frontend
timeout /t 3 /nobreak
REM Start Frontend in a new terminal window
echo Starting Frontend (Vite on port 5173)...
start "Document-MCP Frontend" cmd /k "cd /d "%PROJECT_ROOT%frontend" && npm run dev"
echo.
echo ============================================
echo Document-MCP is starting!
echo ============================================
echo.
echo Backend: http://localhost:8000
echo Frontend: http://localhost:5173
echo.
echo Both services should open in separate terminal windows.
echo Press Ctrl+C in each window to stop the services.
echo.
pause