Spaces:
Sleeping
Sleeping
File size: 1,199 Bytes
67f25fb |
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
@echo off
echo ========================================
echo Deployment Status Check
echo ========================================
echo.
echo π Checking service status...
echo.
echo [Backend API - Port 8001]
curl -s http://localhost:8001/ >nul 2>nul
if %errorlevel% equ 0 (
echo β
Backend API is responding
) else (
echo β Backend API is not responding
)
echo.
echo [Frontend UI - Port 8501]
curl -s http://localhost:8501/_stcore/health >nul 2>nul
if %errorlevel% equ 0 (
echo β
Frontend UI is responding
) else (
echo β Frontend UI is not responding
)
echo.
echo [API Documentation]
curl -s http://localhost:8001/docs >nul 2>nul
if %errorlevel% equ 0 (
echo β
API documentation is available
) else (
echo β API documentation is not available
)
echo.
echo [Supported Languages Check]
curl -s http://localhost:8001/supported-languages >nul 2>nul
if %errorlevel% equ 0 (
echo β
Translation service is loaded
) else (
echo β Translation service is not ready
)
echo.
echo π Quick Access Links:
echo π Frontend: http://localhost:8501
echo π Backend: http://localhost:8001
echo π API Docs: http://localhost:8001/docs
echo.
pause
|