Spaces:
Sleeping
Sleeping
| @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 |