Replace full docker compose rebuild during development with: - pnpm dev / dev:backend (air hot-reload control-plane) / dev:frontend (vite HMR) / dev:deps - compose.dev.yaml: postgres+docker-gateway only, host port mapping (5432/8081), container control-plane disabled via profile - scripts/dev-backend.mjs: read .env, fill dev defaults (login admin/admin123, listen :8082, 32-byte dev master key with explicit warning on invalid .env value), ensure dep containers, run air - vite: fixed port 5173, /api proxy to local control-plane (8082) - README: document hot-reload dev workflow Verified: pnpm dev end-to-end (login/API/frontend/proxy 200), Go+JSX edit hot-reload, compose config --quiet, go build ./..., web tests 65 passed, npm --prefix web run build.
18 lines
332 B
TOML
18 lines
332 B
TOML
root = "."
|
|
tmp_dir = "tmp"
|
|
|
|
[build]
|
|
cmd = "go build -o ./tmp/control-plane ./cmd/control-plane"
|
|
stop_signal = "SIGTERM"
|
|
kill_delay = 500
|
|
ps1 = []
|
|
entrypoint = "./tmp/control-plane"
|
|
include_ext = ["go"]
|
|
exclude_dir = ["tmp", "web", "docs", ".git", ".codegraph"]
|
|
exclude_file = []
|
|
delay = 200
|
|
|
|
[log]
|
|
time = false
|
|
main_log_only = true
|