panel — open-source game server manager (public release)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 19:19:43 -07:00
commit 5232609719
2160 changed files with 300415 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Local dev helper: start Postgres, then foreground the controller.
# Run the agent separately in another terminal: go run ./agent/cmd/agent --insecure
set -euo pipefail
cd "$(dirname "$0")/.."
echo ">> starting postgres"
docker compose -f docker-compose.dev.yml up -d postgres
echo ">> waiting for postgres to be healthy"
for _ in {1..30}; do
if docker inspect -f '{{.State.Health.Status}}' panel-postgres 2>/dev/null | grep -q healthy; then
echo ">> postgres healthy"
break
fi
sleep 1
done
echo ">> running controller (Ctrl-C to stop)"
exec go run ./controller/cmd/controller "$@"