-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-test.bat
More file actions
33 lines (30 loc) · 954 Bytes
/
start-test.bat
File metadata and controls
33 lines (30 loc) · 954 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
@echo off
echo ========================================
echo Starting Test Environment
echo ========================================
echo.
echo This will open 3 terminal windows:
echo 1. Fastify Server (port 3000)
echo 2. Telemetry Sender (simulates device)
echo 3. Frontend Dev Server (port 5173)
echo.
echo Press Ctrl+C in each window to stop
echo ========================================
echo.
REM Start the telemetry sender first
REM start "Telemetry Sender" cmd /k "node server/send-sample-telemetry.js"
timeout /t 2 /nobreak >nul
REM Start the dev server (Fastify + Vite)
start "Dev Server (Fastify + Vite)" cmd /k "npm run dev"
echo.
echo ========================================
echo All services started!
echo ========================================
echo.
echo Open your browser to: http://localhost:5173
echo.
echo To stop all services:
echo - Press Ctrl+C in each terminal window
echo - Or close the terminal windows
echo.
pause