Orkestrasi ada di halort-infra. Port berasal dari scripts/stack-config.cjs.
Setup sekali
cd halort-infra && npm install # juga menginstal deps saudara via setup
cd ../halort-platform && cp .env.example .env
bun install && bun run db:generate && bun run db:push && bun run db:seed
cd ../halort-platform-web && cp .env.example .env.local && npm install
# Opsional notifikasi: cd ../halort-notification-service && npm run setup:localJalankan core stack
cd halort-infra
npm run dev # web :3000, API :4000, platform-web :3001, Storybook :6006
npm run dev:gp2 # sama + tenant GP2 → http://localhost:3001/pasar
npm run dev:notifications # opsional :8090Platform-web menunggu http://127.0.0.1:4000/api/health sebelum siap.
URL lokal
| Layanan | URL |
|---|---|
| Marketing | http://localhost:3000 |
| Platform web | http://localhost:3001 |
| API health / Swagger | http://localhost:4000/api/health · /swagger |
| Storybook | http://localhost:6006 |
| Notifikasi | http://127.0.0.1:8090/health |
| Docs (Quartz) | cd halort-docs && npx quartz build --serve → :8080 |
Host subdomain opsional
127.0.0.1 halort.test gp2.halort.test
Set HALORT_DOMAIN=halort.test (dan env central-domain terkait) di API/web untuk tenancy subdomain. Lihat Multi-tenancy · Concepts/Pasar GP2.