Files
managed-portal/README.md
2026-04-27 10:04:36 +08:00

61 lines
1.2 KiB
Markdown

# Managed Portal
Standalone management portal for:
- managed child services
- web device scanning and proxy access
- copied child service source under `managed/`
## Status
This repository is being split out from `video_recognition_local`.
Current target shape:
- backend: Go service on `:8080`
- frontend: Vue 3 + Element Plus
- public entry: `:13000`
## Planned local commands
Backend:
```bash
go test ./...
go run ./cmd/managed-portal
```
Frontend:
```bash
cd web
pnpm install
pnpm dev
pnpm build
```
Docker:
```bash
cd deploy
docker compose --env-file managed-portal.env up -d --build
```
## Child services
The child service source is part of this repository:
- `managed/store_dwell_alert`
- `managed/people_flow_project`
The default Compose stack builds and starts both child services alongside the portal.
Before building the child service images, provide the runtime weights expected by
their Dockerfiles:
- `managed/store_dwell_alert/weights/yolo11n.pt`
- `managed/people_flow_project/weights/yolo11n.pt`
- `managed/people_flow_project/weights/deepface/age_model_weights.h5`
- `managed/people_flow_project/weights/deepface/gender_model_weights.h5`
- `managed/people_flow_project/weights/deepface/retinaface.h5`