Files
telegram-management-system/marketing-agent/start-all.sh
你的用户名 237c7802e5
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit: Telegram Management System
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>
2025-11-04 15:37:50 +08:00

58 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
# Telegram Marketing Intelligence Agent System - Quick Start
echo "🚀 Starting Telegram Marketing Intelligence Agent System"
echo "======================================================"
echo ""
# Colors for output
GREEN='\033[0;32m'
RED='\033[0;31m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
# Check if Docker is running
if ! docker info > /dev/null 2>&1; then
echo -e "${RED}❌ Docker is not running. Please start Docker first.${NC}"
exit 1
fi
echo "📦 Starting all services with Docker Compose..."
echo ""
# Start all services
docker-compose up -d
# Wait for services to be ready
echo ""
echo "⏳ Waiting for services to be ready..."
sleep 10
# Check service status
echo ""
echo "📊 Service Status:"
echo "-----------------"
docker-compose ps
echo ""
echo -e "${GREEN}✅ All services started!${NC}"
echo ""
echo "📌 Access Points:"
echo " Frontend: http://localhost:3008"
echo " API Gateway: http://localhost:3030"
echo " RabbitMQ Management: http://localhost:15673 (admin/admin)"
echo " MongoDB: localhost:27018"
echo " Grafana: http://localhost:3032 (admin/admin)"
echo " Prometheus: http://localhost:9090"
echo ""
echo "📝 Default Admin Credentials:"
echo " Email: admin@example.com"
echo " Password: admin123"
echo ""
echo "🔍 View logs:"
echo " docker-compose logs -f [service-name]"
echo " docker-compose logs -f # All services"
echo ""
echo "🛑 To stop all services:"
echo " docker-compose down"