Files
qipai/deploy/README.md
T

34 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 部署说明
本项目生产环境固定为 Ubuntu Server 24.04 x86-64/amd64,无桌面环境,禁止 Docker。生产入口固定为 `/opt/apps/setup.sh`,本仓库根目录 `setup.sh` 是同源菜单脚本。
## 环境边界
- Windows`D:\qipai`,唯一正式开发、测试、提交和推送工作区。
- WSL`/mnt/d/qipai`,仅做轻量检查;完整 Linux 构建必须复制到 WSL 原生临时目录。
- Ubuntu`/opt/apps`,由管理员通过菜单执行安装、更新、备份、恢复、回滚和诊断。
## 固定地址
- Gitea SSH`ssh://git@git.txyundm.cn:2222/panda/qipai.git`
- 生产只读 SSH`ssh://git@127.0.0.1:2222/panda/qipai.git`
- API`https://api.txyundm.cn`
- App API`https://api.txyundm.cn/app-api`
- Admin API`https://api.txyundm.cn/admin-api`
## 菜单
1. 首次安装
2. 更新业务服务
3. 安装或检查 EMQX
4. 配置域名与 HTTPS
5. 查看状态
6. 备份
7. 恢复
8. 回滚
9. 诊断
0. 退出
当前版本仅提供 M00 菜单骨架和安全提示,生产安装动作将在后续 M00-D/M00-E 完善。