-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathview-demo.bat
More file actions
33 lines (27 loc) · 824 Bytes
/
view-demo.bat
File metadata and controls
33 lines (27 loc) · 824 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
REM Script to view demo.html with proper web server (Windows)
echo 🚀 Starting demo viewer...
echo.
REM Check if in right directory
if not exist "demo.html" (
echo ❌ Error: demo.html not found!
echo Please run this script from the project root directory
exit /b 1
)
REM Check if artifacts exist
if not exist "artifacts\report.json" (
echo ⚠️ Warning: No results found!
echo Run the agent first: scripts\run-agent.bat
echo.
set /p continue="Continue anyway? (y/n): "
if /i not "%continue%"=="y" exit /b 1
)
echo ✅ Starting web server on http://localhost:8000
echo ✅ Open browser to: http://localhost:8000/demo.html
echo.
echo Press Ctrl+C to stop the server
echo.
REM Start browser
start http://localhost:8000/demo.html
REM Start server
python -m http.server 8000