feat: initialize managed portal
This commit is contained in:
60
README.md
Normal file
60
README.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# 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`
|
||||
Reference in New Issue
Block a user