rax-remote-2/README.md
2024-02-21 11:47:40 +08:00

64 lines
2.0 KiB
Markdown

## 快速开始
### 核心依赖
| 依赖 | 版本 |
|-----------------------------|------------|
| Spring Boot | 3.2.1 |
| Spring Cloud | 2023.0.0 |
| Spring Cloud Alibaba | 2022.0.0.0 |
| Spring Authorization Server | 1.2.1 |
| Mybatis Plus | 3.5.5 |
| hutool | 5.8.23 |
### 模块说明
rax-web
├── auth -- 授权服务提供[3000]
└── common -- 系统公共模块
├── common-bom -- 全局依赖管理控制
├── common-core -- 公共工具类核心包
├── common-datasource -- 动态数据源包
├── common-log -- 日志服务
├── common-oss -- 文件上传工具类
├── common-mybatis -- mybatis 扩展封装
├── common-seata -- 分布式事务
├── common-security -- 安全工具类
├── common-swagger -- 接口文档
├── common-feign -- feign 扩展封装
└── common-xss -- xss 安全封装
├── register -- Nacos Server[8848]
├── gateway -- Spring Cloud Gateway网关[9999]
└── upms -- 通用用户权限管理模块
└── upms-api -- 通用用户权限管理系统公共api模块
└── upms-biz -- 通用用户权限管理系统业务处理模块[4000]
└── visual
└── monitor -- 服务监控 [5001]
├── codegen -- 图形化代码生成 [5002]
└── quartz -- 定时任务管理台 [5007]
```
### 本地开发 运行
请务必**完全按照**文档部署运行章节 进行操作,减少踩坑弯路!!
### Docker 运行
```
# 下载并运行服务端代码
git clone https://gitee.com/log4j/pig.git -b jdk17
cd pig && mvn clean install && docker-compose up -d
# 下载并运行前端UI
git clone https://gitee.com/log4j/pig-ui.git
cd pig-ui && npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install && cnpm run build:docker && cd docker && docker-compose up -d
```