BioNexus / health-check.bat
gaialive's picture
Upload 16 files
7fe631a verified
raw
history blame contribute delete
480 Bytes
@echo off
echo Checking BioNexus Hub services...
REM Check if server is running
curl -f http://localhost:3001/health >nul 2>&1
if %errorlevel% == 0 (
echo βœ… Server is running
) else (
echo ❌ Server is not responding
exit /b 1
)
REM Check if client files are accessible
curl -f http://localhost:80/ >nul 2>&1
if %errorlevel% == 0 (
echo βœ… Client is accessible
) else (
echo ❌ Client is not accessible
exit /b 1
)
echo βœ… All services are healthy