Commit Graph

28 Commits

Author SHA1 Message Date
97af8904ef fix: 新增初始资产导入脚本,解决新管理端无模板无法部署的问题
- import-assets.py: Python 脚本,从 configs 目录导入模板/场景/覆盖层到 SQLite
- import-assets.sh: Bash 备选方案
- assets-import.tar.gz: 包含 edge 项目的 configs 和导入脚本的离线包

待办: 管理端启动时应自动检测空库并导入种子数据
2026-07-23 16:11:06 +08:00
c440186ce3 fix: 统一管理端部署路径,设备详情页支持无标准配置时展示设备实际模型/人脸库
- 所有路径统一为 /opt/safesightd/{bin,config,data}
- 新增 safesightd.json.example 使用绝对路径,不含 dev 私货
- package.sh 打包时使用示例配置,README 给出完整命令
- safesightd.service 精简冗余配置
- device.html: 无标准配置时仍展示设备上的模型/资源状态
- deployment.md: 路径对齐,补全配置字段
2026-07-22 11:14:30 +08:00
a110436e2d fix: minio uses Start-Process directly instead of bat file 2026-07-22 09:31:25 +08:00
848580f3ee fix: mock alarm and minio use cmd window to avoid silent exit 2026-07-22 09:29:36 +08:00
5c7fe47a36 feat: add offline packaging script for control panel 2026-07-21 18:14:43 +08:00
b3e816e028 chore: remove media-server from dev-env script 2026-07-20 18:13:13 +08:00
248f62ca5d fix: start mediamtx from its own directory so it finds mediamtx.yml 2026-07-20 14:32:35 +08:00
a1143562c4 fix: pass mediamtx config file path explicitly 2026-07-20 14:31:36 +08:00
4ad664ecc5 fix: wait for mediamtx port 8554 before starting ffmpeg 2026-07-20 14:27:07 +08:00
0207593975 fix: use localhost for RTSP (mediamtx on same machine) 2026-07-20 14:26:19 +08:00
890755251d fix: write bat with UTF-8 to preserve Chinese path; use chcp 65001 2026-07-20 14:24:45 +08:00
220a66b1c7 fix: launch ffmpeg via cmd /k for real console window 2026-07-20 14:23:15 +08:00
e1e5f783c0 fix: resolve full exe path via Get-Command for Start-Process 2026-07-20 14:22:07 +08:00
c09a999710 fix: show ffmpeg window so errors are visible 2026-07-20 14:20:41 +08:00
d09031157d fix: media-server runs on 3588, skip in local dev; fix mock_alarm path 2026-07-20 14:17:38 +08:00
51079466a3 fix: use Get-Command for PATH executables like ffmpeg 2026-07-20 14:15:34 +08:00
33fadd17bd fix: handle empty args in Start-Detached 2026-07-20 14:13:49 +08:00
af7447ccad fix: adjust paths for safesight-control location 2026-07-20 14:13:02 +08:00
f5d7da6fd2 add dev-env.ps1 for one-click local test environment 2026-07-20 14:12:48 +08:00
46f264d4d4 refactor: rebrand to SafeSight Control
- Rename binary: managerd → safesightd
- Rename config: managerd.json → safesightd.json
- Update Go module: 3588AdminBackend → safesight-control
- Update all import paths and references
- Rename scripts and deploy files
2026-07-17 11:00:12 +08:00
134d5f6e34 fix: use Get-Process instead of Get-CimInstance for process matching 2026-05-06 14:08:13 +08:00
2304516dbc 合并模型管理分支,修改启动脚本,增加了managerd.bat和managerd.ps1,删除了restart.bat 2026-05-06 11:45:26 +08:00
328705ebc6 Refactor config management flow and admin IA 2026-04-29 18:59:57 +08:00
edf64443b8 更新离线部署脚本 2026-02-25 18:02:58 +08:00
5fefa8a154 完善安装脚本和文档 2026-02-25 16:32:38 +08:00
f57253b36e 合并脚本 2026-02-25 16:20:42 +08:00
7e6e00f17e 简化部署脚本和文档 2026-02-25 16:20:24 +08:00
cda9702548 增加部署脚本和文档 2026-02-25 11:00:55 +08:00