Commit Graph

9 Commits

Author SHA1 Message Date
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 a3d4875bde Standardize API port 23568 and web port 23566 across docs and dev config.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 13:07:46 +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 8652476abc Fix registration: use bcrypt directly and show real API error messages.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 13:02:06 +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