- Add migration 013_city_map_coordinates.sql with map coordinates, zones, and agents table - Add /city/map API endpoint in city-service - Add /city/agents and /city/agents/online endpoints - Extend presence aggregator to include agents[] in snapshot - Add AgentsSource for fetching agent data from DB - Create CityMap component with interactive room tiles - Add useCityMap hook for fetching map data - Update useGlobalPresence to include agents - Add map/list view toggle on /city page - Add agent badges to room cards and map tiles
45 lines
981 B
Bash
Executable File
45 lines
981 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Start Phase 2 Agent Integration Services
|
|
|
|
echo "🚀 Starting DAARION Phase 2 Services..."
|
|
echo ""
|
|
|
|
# Check if docker network exists
|
|
if ! docker network inspect daarion >/dev/null 2>&1; then
|
|
echo "📦 Creating daarion network..."
|
|
docker network create daarion
|
|
fi
|
|
|
|
# Start services
|
|
echo "📦 Building and starting services..."
|
|
docker-compose -f docker-compose.agents.yml up -d --build
|
|
|
|
echo ""
|
|
echo "⏳ Waiting for services to be healthy..."
|
|
sleep 10
|
|
|
|
echo ""
|
|
echo "✅ Phase 2 services started!"
|
|
echo ""
|
|
echo "Services:"
|
|
echo " - agent-filter: http://localhost:7005"
|
|
echo " - router: http://localhost:8000"
|
|
echo " - agent-runtime: http://localhost:7006"
|
|
echo ""
|
|
echo "Check status:"
|
|
echo " docker ps | grep -E '(agent-filter|router|agent-runtime)'"
|
|
echo ""
|
|
echo "Check logs:"
|
|
echo " docker logs -f agent-filter"
|
|
echo " docker logs -f router"
|
|
echo " docker logs -f agent-runtime"
|
|
echo ""
|
|
echo "Run tests:"
|
|
echo " ./scripts/test-phase2-e2e.sh"
|
|
|
|
|
|
|
|
|
|
|