Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
43
check-services.sh
Executable file
43
check-services.sh
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "=== Telegram管理系统服务状态检查 ==="
|
||||
echo ""
|
||||
|
||||
# 检查后端服务
|
||||
echo "1. 后端服务状态:"
|
||||
if curl -s http://localhost:3000/health > /dev/null 2>&1; then
|
||||
echo " ✅ 后端服务运行中 (端口: 3000)"
|
||||
echo " API健康检查: $(curl -s http://localhost:3000/health | head -c 50)..."
|
||||
else
|
||||
echo " ❌ 后端服务未运行"
|
||||
fi
|
||||
|
||||
# 检查前端服务
|
||||
echo ""
|
||||
echo "2. 前端服务状态:"
|
||||
if curl -s http://localhost:8890 > /dev/null 2>&1; then
|
||||
echo " ✅ 前端服务运行中 (端口: 8890)"
|
||||
echo " 访问地址: http://localhost:8890"
|
||||
else
|
||||
echo " ❌ 前端服务未运行"
|
||||
fi
|
||||
|
||||
# 检查Socket.IO服务
|
||||
echo ""
|
||||
echo "3. Socket.IO服务状态:"
|
||||
if lsof -i :3001 | grep LISTEN > /dev/null 2>&1; then
|
||||
echo " ✅ Socket.IO服务运行中 (端口: 3001)"
|
||||
else
|
||||
echo " ❌ Socket.IO服务未运行"
|
||||
fi
|
||||
|
||||
# 检查进程
|
||||
echo ""
|
||||
echo "4. 相关进程:"
|
||||
ps aux | grep -E "telegram-management" | grep -v grep | awk '{print " PID:", $2, "- 内存:", $4"%", "- 命令:", $11, $12}' | head -5
|
||||
|
||||
echo ""
|
||||
echo "=== 快速访问 ==="
|
||||
echo "前端界面: http://localhost:8890"
|
||||
echo "后端API: http://localhost:3000"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user