Commit Graph

17 Commits

Author SHA1 Message Date
dekun 4de460c235 OCR Worker 改用 RapidOCR/ONNX,修复 Paddle SIGILL。 2026-06-28 15:27:59 +08:00
dekun 035b65dcc8 OCR 修复:无 cuDNN 用 CPU、禁用 ir_optim 避免 SIGILL。 2026-06-28 15:18:42 +08:00
dekun 0d4861fa62 OCR 500: GPU 回退 CPU、返回详细错误、增加 test-ocr 诊断。 2026-06-28 15:04:33 +08:00
dekun edd3e80ef1 install: show wait progress, shorten OCR health wait, log to file. 2026-06-28 14:58:06 +08:00
dekun 04f1381a2d 完善 uninstall.sh:停止服务并可选清除目录与数据库。 2026-06-28 14:46:34 +08:00
dekun 357f61c57c 一键部署:主程序+OCR同机(screen/GPU),Ollama外置局域网。 2026-06-28 14:44:51 +08:00
dekun 9713c640b4 OCR Worker: add check and systemd install scripts. 2026-06-28 14:39:38 +08:00
dekun ff0c103dc5 支持局域网 GPU OCR 服务,配置方式类似 Ollama。 2026-06-28 14:16:06 +08:00
dekun c42cd0b46d 修复更新后服务无法访问:强制 systemd 配置与健康检查。
- update.sh 必须 root 运行,自动注册并重启 grade-archive

- 新增 deploy/repair.sh 一键修复连接被拒绝
2026-06-28 14:03:36 +08:00
dekun 1c50ebc0ec 修复 OCR libGL.so.1 缺失:安装 libgl1 等系统依赖。
- 新增 deploy/install-ocr-deps.sh,update.sh 自动检查

- install.sh 预装 OpenGL/Mesa 库
2026-06-28 13:57:49 +08:00
dekun 4375ea491e 部署文档与脚本增加 HTTP 代理配置(192.168.8.246:10810)。 2026-06-28 13:24:19 +08:00
dekun f1ad4273f4 零 Node 部署、超级管理员,并完善本地构建发布文档。
- FastAPI 单进程托管 frontend/dist,systemd 替代 PM2

- 超级管理员 admin、注册开关与用户管理

- README/DEPLOY/USAGE 说明:改代码须本地构建 dist 后 push,服务器 update.sh

- 提交 frontend/dist 与 build-frontend 脚本
2026-06-28 13:19:41 +08:00
dekun 2a5fb5f469 Fix API port conflict default 23568, bcrypt registration, clearer login errors.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 13:04:59 +08:00
dekun 9f34ce8e07 Fix PM2 startup: run only the sudo line from pm2 startup output.
Avoid executing PM2 banner text as shell commands during install.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:55:55 +08:00
dekun 521a0fc66f Remove built-in proxy from deploy scripts and show pip install progress.
Proxy is optional via manual env vars only; update.sh also drops quiet pip/npm flags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:50:06 +08:00
dekun e797d188ee Switch production deployment from Docker to PM2 on Ubuntu.
Add Express gateway, ecosystem config, and one-click install with native PostgreSQL, Node, and Python venv on port 23566.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 11:52:20 +08:00
dekun e329d3398a Initial commit: secondary school grade archive system.
Add FastAPI/React app with Docker deployment, Ubuntu one-click install, and docs for junior/senior high score tracking and mistake bank.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 11:18:58 +08:00