start-windows.bat 432 Bytes
Newer Older
zk's avatar
zk committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
setlocal

cd /d "%~dp0"

where node >nul 2>nul
if errorlevel 1 (
  echo Node.js was not found.
  echo Please install Node.js 18 or newer from https://nodejs.org/
  echo.
  pause
  exit /b 1
)

if not exist data mkdir data

echo Starting GPU/DCU resource dashboard...
echo Open http://localhost:3066 in your browser.
echo Press Ctrl+C in this window to stop the dashboard.
echo.

start "" "http://localhost:3066"
npm start