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.
This commit is contained in:
48
scripts/check-status.sh
Normal file
48
scripts/check-status.sh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/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 ""
|
||||
|
||||
Reference in New Issue
Block a user