Files
CurrenciCombo/scripts/check-status.sh
defiQUG 3dc8592b83 docs: Update CHANGELOG and README for deployment models and troubleshooting
- Added multi-platform deployment architecture details (Web App, PWA, DApp) to README.md.
- Included comprehensive troubleshooting guides and fix scripts in README.md.
- Enhanced CHANGELOG.md with new features, fixes, and improvements, including TypeScript error resolutions and updated documentation structure.
- Revised development setup instructions in DEV_SETUP.md to reflect changes in script usage and environment variable setup.
2025-11-06 08:09:54 -08:00

49 lines
1.2 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# Quick Status Check Script
echo -e "\n\033[0;36m=== Service Status ===\033[0m"
# Check Webapp
if nc -z localhost 3000 2>/dev/null; then
echo -e "\033[0;32m✅ Webapp (3000): Running\033[0m"
WEBAPP_RUNNING=true
else
echo -e "\033[0;31m❌ Webapp (3000): Not running\033[0m"
WEBAPP_RUNNING=false
fi
# Check Orchestrator
if nc -z localhost 8080 2>/dev/null; then
echo -e "\033[0;32m✅ Orchestrator (8080): Running\033[0m"
ORCH_RUNNING=true
else
echo -e "\033[0;31m❌ Orchestrator (8080): Not running\033[0m"
ORCH_RUNNING=false
fi
# Check PostgreSQL
if nc -z localhost 5432 2>/dev/null; then
echo -e "\033[0;32m✅ PostgreSQL (5432): Running\033[0m"
else
echo -e "\033[0;33m⚠ PostgreSQL (5432): Not running (optional)\033[0m"
fi
# Check Redis
if nc -z localhost 6379 2>/dev/null; then
echo -e "\033[0;32m✅ Redis (6379): Running\033[0m"
else
echo -e "\033[0;33m⚠ Redis (6379): Not running (optional)\033[0m"
fi
echo -e "\n\033[0;36m=== Quick Access ===\033[0m"
if [ "$WEBAPP_RUNNING" = true ]; then
echo -e "Frontend: http://localhost:3000"
fi
if [ "$ORCH_RUNNING" = true ]; then
echo -e "Backend: http://localhost:8080"
echo -e "Health: http://localhost:8080/health"
fi
echo ""