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