mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-15 06:29:01 +08:00
📝 编写文档.swagger 使用说明
This commit is contained in:
1 parent
3e71a17d67
commit
440864ff7b
4 files changed
+62
-2
No files matched your search
@@ -0,0 +1,58 @@
|
||||
### 写在最前
|
||||
**如果想快速部署pigX,请完全参考本篇文档,如果有个性化的修改(例如:oauth2配置、token 个性化需求),请参考本篇运行起来以后,自行修改。循序渐进**
|
||||
|
||||
### 架构图
|
||||

|
||||
### 一、项目下载
|
||||
|
||||
```
|
||||
git https://www.gitee.wang/pig/pigx.git
|
||||
```
|
||||
|
||||
### 二、配置数据库
|
||||
|
||||
```
|
||||
版本: mysql5.7+
|
||||
|
||||
```
|
||||
基本参数如下:
|
||||

|
||||
|
||||
|
||||
### 三、pig配置修改
|
||||
pigx/pigx-config/src/main/resources/config/application-dev.yml
|
||||
|
||||
```
|
||||
# redis 相关
|
||||
spring:
|
||||
redis:
|
||||
password:
|
||||
host: localhost
|
||||
```
|
||||
pigx/pigx-config/src/main/resources/config/pigx-auth-dev.yml
|
||||
pigx/pigx-config/src/main/resources/config/pigx-upms-dev.yml
|
||||
|
||||
```
|
||||
# 数据源
|
||||
spring:
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
username: root
|
||||
password: lengleng
|
||||
url: jdbc:mysql://127.0.0.1:3306/pigx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
||||
```
|
||||
|
||||
|
||||
### 四、pigx-ui:
|
||||
|
||||
```
|
||||
git clone https://www.gitee.wang/pig/pigx-ui.git
|
||||
npm run dev
|
||||
```
|
||||
请确保启动顺序
|
||||
1.eureka
|
||||
2.config
|
||||
3.gateway
|
||||
4.auth
|
||||
5.upms
|
||||
Reference in new issue
Block a user