Files
microdao-daarion/scripts/start-city-space-services.sh
Apple 6bd769ef40 feat(city-map): Add 2D City Map with coordinates and agent presence
- 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
2025-11-27 07:00:47 -08:00

42 lines
1.1 KiB
Bash

#!/bin/bash
# Start City and Space services with API Gateway
set -e
echo "🚀 Starting DAARION City + Space Services..."
# Build and start services
docker-compose -f docker-compose.city-space.yml up -d --build
echo ""
echo "✅ Services started!"
echo ""
echo "📊 Service URLs:"
echo " City Service: http://localhost:7001"
echo " Space Service: http://localhost:7002"
echo " API Gateway: http://localhost:8080"
echo ""
echo "🏥 Health Checks:"
echo " City: curl http://localhost:8080/health/city"
echo " Space: curl http://localhost:8080/health/space"
echo " Gateway: curl http://localhost:8080/health"
echo ""
echo "📡 API Endpoints:"
echo " City Snapshot: http://localhost:8080/api/city/snapshot"
echo " Space Planets: http://localhost:8080/space/planets"
echo " Space Nodes: http://localhost:8080/space/nodes"
echo " Space Events: http://localhost:8080/space/events"
echo ""
echo "📖 API Docs:"
echo " City: http://localhost:7001/docs"
echo " Space: http://localhost:7002/docs"
echo ""
echo "📝 View logs:"
echo " docker-compose -f docker-compose.city-space.yml logs -f"