需求变更:Web 端只保留业务需求,反向代理交由另外的服务处理, 本项目仅提供 IIS / nginx 反代说明文档,不部署反代。 主要改动: - web-server: 新增管理端静态托管(ADMIN_DIR、SPA 深链接回退), 反代因此只需一条全匹配转发规则;新增 adminDir 配置项 - deploy/install.sh: 删除 nginx 安装与站点配置逻辑,改为原生 Linux 服务部署(systemd → OpenRC → SysVinit → 后台进程四级降级), 打印反代交接指引 - deploy/ctl.sh: 启停/状态/日志脚本 - deploy/proxy/: 新增反代说明文档(README.md、nginx.conf.example、 web.config.example),标注上传上限与超时必须同步调整 - 删除 deploy/nginx/、web-server/admin/nginx.conf、Dockerfile、 docker-compose.yml、.dockerignore - scripts/package-release.sh: 锚定排除规则 + 产物完整性校验 - 文档同步:README.txt、DSH.md、project.yaml、tasks/008、tasks/010
73 lines
2.3 KiB
YAML
73 lines
2.3 KiB
YAML
project: opendance-web-server
|
||
version: 0.1.0
|
||
repository: opendance-web
|
||
default_branch: main
|
||
contracts_version: 0.1.0
|
||
|
||
# 契约变更流程(文档 §7.2):
|
||
# 任何跨端契约变更必须先在本项目修改 contracts/ 并提升版本,
|
||
# 再在 opendance-windows / opendance-android 创建适配任务。
|
||
|
||
database:
|
||
# 使用现有实例,本项目不部署、不管理 MySQL
|
||
managed_by: external
|
||
engine: MySQL 兼容(当前部署为 MariaDB 10.11.19)
|
||
name: dpendance
|
||
charset: utf8mb4
|
||
migrations: TypeORM migration
|
||
synchronize: forbidden
|
||
|
||
tasks:
|
||
- id: T-WEB-001
|
||
file: tasks/001-scaffold.md
|
||
scope: NestJS 骨架 + 连接现有 MySQL
|
||
status: done
|
||
- id: T-WEB-002
|
||
file: tasks/002-db-migration.md
|
||
scope: TypeORM 迁移生成 opendance 表结构
|
||
status: done
|
||
- id: T-WEB-003
|
||
file: tasks/003-song-crud.md
|
||
scope: /api/songs CRUD
|
||
status: done
|
||
- id: T-WEB-004
|
||
file: tasks/004-motion-upload.md
|
||
scope: 动作数据上传 + 来源字段
|
||
status: done
|
||
- id: T-WEB-005
|
||
file: tasks/005-model-upload.md
|
||
scope: 模型上传 + VRM 优先 + 来源字段
|
||
status: done
|
||
- id: T-WEB-006
|
||
file: tasks/006-keypoint-preprocess.md
|
||
scope: BVH/FBX → 关键点序列预处理
|
||
status: done
|
||
- id: T-WEB-007
|
||
file: tasks/007-upload-review.md
|
||
scope: 上传审核流程
|
||
status: done
|
||
- id: T-WEB-008
|
||
file: tasks/008-admin-ui-songs.md
|
||
scope: 歌曲管理界面
|
||
status: done
|
||
- id: T-WEB-009
|
||
file: tasks/009-admin-ui-models.md
|
||
scope: 模型管理界面 + 来源展示
|
||
status: done
|
||
- id: T-WEB-010
|
||
file: tasks/010-deploy.md
|
||
scope: 部署脚本(不部署 MySQL)
|
||
status: done
|
||
|
||
deliverable:
|
||
artifact: opendance-web-v0.1.0.tar.gz
|
||
packaging: Linux 业务服务(系统服务托管,不含 MySQL、不含反向代理、不使用 Docker)
|
||
includes:
|
||
- web-server/ # NestJS 源码 + 构建产物
|
||
- admin/ # React 管理端构建产物
|
||
- deploy/ # install.sh / systemd / openrc / initd / ctl.sh / .env.example
|
||
- deploy/proxy/ # 反向代理说明(nginx / IIS,仅供参考不部署)
|
||
- contracts/ # 当前版本契约快照
|
||
- THIRD_PARTY.md # 开源声明
|
||
- README.txt # 使用说明
|