Files
microdao-daarion/scripts/start-phase7.sh
Apple 3de3c8cb36 feat: Add presence heartbeat for Matrix online status
- matrix-gateway: POST /internal/matrix/presence/online endpoint
- usePresenceHeartbeat hook with activity tracking
- Auto away after 5 min inactivity
- Offline on page close/visibility change
- Integrated in MatrixChatRoom component
2025-11-27 00:19:40 -08:00

31 lines
951 B
Bash
Executable File

#!/bin/bash
# Start DAARION Phase 7 — microDAO Console
echo "🚀 Starting DAARION Phase 7..."
echo ""
# Apply migration 008
echo "📦 Applying migration 008 (microDAO Core)..."
docker-compose -f docker-compose.phase7.yml exec -T postgres psql -U postgres -d daarion < migrations/008_create_microdao_core.sql || echo "Migration already applied or failed (continuing...)"
echo ""
echo "🐳 Starting all services..."
docker-compose -f docker-compose.phase7.yml up -d
echo ""
echo "⏳ Waiting for services to be ready..."
sleep 10
echo ""
echo "✅ DAARION Phase 7 started!"
echo ""
echo "Services:"
echo " - microdao-service: http://localhost:7015 ⭐ NEW"
echo " - agents-service: http://localhost:7014"
echo " - auth-service: http://localhost:7011"
echo " - MicroDAO Console: http://localhost:3000/microdao"
echo ""
echo "To view logs: docker-compose -f docker-compose.phase7.yml logs -f"
echo "To stop: ./scripts/stop-phase7.sh"