Commit Graph

8 Commits

Author SHA1 Message Date
dekun 357f61c57c 一键部署:主程序+OCR同机(screen/GPU),Ollama外置局域网。 2026-06-28 14:44:51 +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 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