Phase 0: monorepo skeleton (hub, live-map, api, packages, infra, CI)

This commit is contained in:
Mavis
2026-06-02 15:47:28 +00:00
commit 7b19c54943
59 changed files with 2391 additions and 0 deletions
Executable
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Bring the full stack up locally. Assumes Docker is installed.
set -euo pipefail
cd "$(dirname "$0")/.."
if [ ! -f .env ]; then
cp .env.example .env
echo "Created .env from .env.example — review and edit before proceeding."
fi
echo "→ starting data services (Postgres+Timescale, Redis, MinIO)…"
docker compose -f infra/docker-compose.yml up -d
echo "→ installing workspace deps…"
pnpm install
echo "→ running dev servers in parallel…"
echo " hub: http://localhost:3000"
echo " live-map: http://localhost:3001"
echo " api: http://localhost:4000"
echo
exec pnpm dev