# r2mo-matrix **Repository Path**: zero-ws/r2mo-matrix ## Basic Information - **Project Name**: r2mo-matrix - **Description**: R2MO = R² Meta-Orchestrated / for Rachel Momo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-07-30 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # R2MO Matrix > For [Rachel Momo](https://www.weibo.com/maoxiaotong0216) ![ZERO](home/logo.jpeg) ## 0. 引导 - 教程: - 教程地图: - 示例: ![R2MO-Matrix](docs/images/r2mo-matrix.png) --- > R2MO = R² Meta-Orchestrated ## 1. 安装步骤 1. 环境变量 `R2MO_HOME`:`/home` 目录 2. 环境变量 `PATH`:添加 `$R2MO_HOME/bin` 目录 ## 2. 开发脚本 | 脚本 | 说明 | |:-----------------|:---------------------------------------------------| | `commit-all.sh` | 🚀 统一提交所有子模块和主仓库,使用方法: `./commit-all.sh "提交信息"` | | `sync-full.sh` | 📦 同步完整内容(子模块 + 主模块),使用方法: `./sync-full.sh "提交信息"` | | `sync-mod.sh` | 🔄 同步子模块,使用方法: `./sync-mod.sh "提交信息"` | | `chmod-shell.sh` | 🔐 批量修改所有 shell 脚本权限为可执行 | ### 2.1. commit-all.sh 详细说明 统一提交脚本,自动完成以下操作: 1. **提交所有子模块**:遍历所有子模块,检查变更并提交 - 自动检测是否有变更 - 使用统一的提交信息 - 执行 `git add .` → `git commit` → `git push` 2. **提交主仓库**:所有子模块提交完成后,提交 r2mo-matrix 主仓库 - 同样使用统一的提交信息 - 自动更新子模块引用 3. **提供详细反馈**: - ✅ 成功提交的模块 - ⚠️ 跳过的模块(无变更) - ❌ 失败的模块 **使用示例**: ```bash ./commit-all.sh "feat: 添加新功能" ./commit-all.sh "fix: 修复bug" ./commit-all.sh "docs: 更新文档" ``` ## 3. 项目结构 | 模块 | 类型 | 含义 | |:--------------|:----------------------------------------------------------|:------------------------------------| | `home` | RTE | 🏠 R2MO 主目录,运行过程中的核心 HOME 运行时。 | | `r2mo-apps` | App | 📦 应用规范,限定 App 专用的基础规范信息。 | | `r2mo-init` | [SubModule](https://gitee.com/silentbalanceyh/vertx-ai) | 🛠️ AI自动化工具 | | `r2mo-lain` | [SubModule](https://gitee.com/silentbalanceyh/r2mo-lain) | 📐 SDD (Spec Driven Development) 工具 | | `r2mo-market` | [SubModule](https://gitee.com/zero-ws/r2mo-market) | 🏪 服务集 / 协同 r2mo-apps | | `r2mo-meta` | Spec | 🧬 元数据 / 基础规范 | | `r2mo-module` | [SubModule](https://gitee.com/zero-ws/r2mo-module) | 🧩 模块集 / 模块 - 微服务入口 | | `r2mo-motto` | [SubModule](https://gitee.com/zero-ws/r2mo-motto) | 🔌 接口集 / Open Api 基本规范 | | `r2mo-muster` | [SubModule](https://gitee.com/zero-ws/r2mo-muster) | 📚 核心库 / Library FAAS | | `r2mo-mutual` | [SubModule](https://gitee.com/zero-ws/r2mo-mutual) | 🤝 集成库 / 快速集成、外部扩展 | | `r2mo-rapid` | [SubModule](https://gitee.com/silentbalanceyh/r2mo-rapid) | 🚀 Rapid Development 快速开发框架 |