# RuoYi-MT **Repository Path**: Yonsion/RuoYi-MT ## Basic Information - **Project Name**: RuoYi-MT - **Description**: RuoYi包名修改器 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2026-06-03 - **Last Updated**: 2026-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目简介 当前项目仓库:[Yonsion/RuoYi-MT](https://gitee.com/Yonsion/RuoYi-MT.git) 本项目基于 [lpf_project/RuoYi-MT](https://gitee.com/lpf_project/RuoYi-MT.git) 改造而来,首先感谢原作者开源这个工具和早期积累的实现思路。 当前版本后续由 `Yonsion` 负责维护。 - 维护者:`Yonsion` - 联系 QQ:`261817630` 这个工具用于批量修改 RuoYi 系项目的包名、项目名、模块名、配置项和部分脚本内容,适合在拿到官方 zip 包之后做一次性的初始化改造。 ## 当前支持 - [RuoYi](https://gitee.com/y_project/RuoYi) - [RuoYi-fast](https://gitee.com/y_project/RuoYi-fast) - [RuoYi-Vue-Plus 5.X](https://github.com/dromara/RuoYi-Vue-Plus) - [RuoYi-Cloud-Plus 2.X](https://github.com/dromara/RuoYi-Cloud-Plus) 旧的 `RuoYi-Vue` 和 `RuoYi-Cloud` 系列入口已经移除,不再继续维护。 ## 主要功能 - 一键修改包名、项目名、目录名、模块名 - 按模板规则修改 `pom.xml`、配置文件、脚本文件中的关键字 - 可选替换数据库、Redis 等配置项 - 提供 druid 秘钥生成 - 提供批量删除编译产物和常见无用文件 ## 使用方式 1. 从目标项目官方仓库下载 `.zip` 压缩包 2. 启动本工具,选择对应系列 3. 填写目录名称、项目名、包名、`artifactId`、`groupId`、站点名称 4. 如有需要,在“配置参数”中补充数据库和 Redis 配置 5. 执行修改,完成后到输出目录查看结果 ## 开发与运行 1. 安装依赖:`pip install -r requirements.txt` 或者 `pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/` 2. 本地运行:`python run.py` 3. 也可以在 IDE 中直接运行 [run.py](D:/workspaces/python/RuoYi-MT/run.py) 4. Windows 打包可使用 `bin/windows/package.bat` 5. macOS 打包可使用 `bin/mac/package.sh` ## 维护说明 - 当前仓库以源码运行和本地打包为主 - 如果在使用过程中遇到问题,或希望继续扩展新的 RuoYi 系分支兼容,可联系 `Yonsion`,QQ:`261817630` - 模板扩展入口在 [conf/template_config.ini](D:/workspaces/python/RuoYi-MT/conf/template_config.ini) - 核心改名逻辑位于 [core](D:/workspaces/python/RuoYi-MT/core) ## 致谢 感谢上游项目 [RuoYi-MT](https://gitee.com/lpf_project/RuoYi-MT.git) 的原作者和所有贡献者,为这个工具打下了很扎实的基础。