|
@@ -131,6 +131,14 @@ docker compose up -d --build api-server web-dashboard worker
|
|
|
- `apps/device-agent/requirements.txt`
|
|
- `apps/device-agent/requirements.txt`
|
|
|
- `apps/device-agent/README.md`
|
|
- `apps/device-agent/README.md`
|
|
|
|
|
|
|
|
|
|
+## Device installer (Pi) — ✅ ĐÃ LÀM
|
|
|
|
|
+- `apps/device-agent/agent/main.py`
|
|
|
|
|
+ - claim device, poll approval, save key, heartbeat loop
|
|
|
|
|
+- `apps/device-agent/systemd/timelapse-agent.service`
|
|
|
|
|
+- `apps/device-agent/scripts/install-agent.sh`
|
|
|
|
|
+- `apps/device-agent/requirements.txt`
|
|
|
|
|
+- `apps/device-agent/README.md`
|
|
|
|
|
+
|
|
|
## TODO — Phase tiếp theo
|
|
## TODO — Phase tiếp theo
|
|
|
1. **DB migration**: drizzle-kit push + seed data (trên Pi)
|
|
1. **DB migration**: drizzle-kit push + seed data (trên Pi)
|
|
|
2. **Role-based access control nâng cao** (org_admin/project_manager/viewer)
|
|
2. **Role-based access control nâng cao** (org_admin/project_manager/viewer)
|