Run the central stack with mock GPU agents, and the Vue UI on Vite.
./utils/dev-up.sh -d
cd gsad-frontend && npm install && npm run devOpen http://localhost:5173. The Vite dev server proxies /api to VITE_PROXY_TARGET (default http://localhost:8080).
Seeded admin: admin@gsad.local / Admin@123456.
The top-right Language control switches 中文 / English. Capture English manuals with GSAD_DOCS_LOCALE=en and Chinese manuals with GSAD_DOCS_LOCALE=zh.
./utils/dev-up.sh starts Docker Compose in dev mode (--profile mock):
- Backend (Spring
devprofile), PostgreSQL, Redis - Flyway
devseed: admin above; mock serversgpu-mock-001…gpu-mock-100with shared agent PSKdev-mock-agent-psk-0001 account-provision-mock— grants/revokes Linux-style access against the backendgpu-server-report-mock— reports fake GPU metrics so the resource board has data
After migration changes:
./utils/gsad-compose.sh --dev down -v
./utils/dev-up.sh -dDev compose publishes Postgres 5432, Redis 6379, and the backend 8080 on the host. If those ports are already in use, override them:
GSAD_DEV_POSTGRES_PORT=15432 \
GSAD_DEV_REDIS_PORT=16380 \
GSAD_DEV_BACKEND_PORT=18080 \
./utils/dev-up.sh -d
cd gsad-frontend && VITE_PROXY_TARGET=http://localhost:18080 npm run devcd docs && npm install && npm run devVitePress serves the manuals (screenshots under docs/assets/en/ and docs/assets/zh/) at the printed local URL. The site root is English; /zh/ is Chinese.
Manuals use 1440×900 (2×) PNG shots of the console. With the UI on :5173 and Playwright available:
# once: npm install playwright && npx playwright install chromium
PLAYWRIGHT_ROOT=/path/to/playwright-install \
GSAD_DOCS_LOCALE=en \
node docs/scripts/capture-screenshots.mjs
PLAYWRIGHT_ROOT=/path/to/playwright-install \
GSAD_DOCS_LOCALE=zh \
node docs/scripts/capture-screenshots.mjsThe script writes kebab-case files such as board.png, application-detail.png, and admin-users-import.png into docs/assets/<locale>/. Do not screenshot OS file pickers; the in-app import modal is enough. Keep agent PSKs masked.
cd gsad-backend && ./mvnw test
cd gsad-frontend && npm run lint && npm run typecheck && npm test