Fetch the repository succeeded.
This action will force synchronization from lengleng/pig, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
依赖 | 版本 |
---|---|
Spring Boot | 2.5.0 |
Spring Cloud | 2020.0.3 |
Spring Cloud Alibaba | 2021.1 |
Spring Security OAuth2 | 2.3.6 |
Mybatis Plus | 3.4.3 |
hutool | 5.6.6 |
Avue | 2.6.18 |
pig-ui -- https://gitee.com/log4j/pig-ui
pig
├── pig-auth -- 授权服务提供[3000]
└── pig-common -- 系统公共模块
├── pig-common-core -- 公共工具类核心包
├── pig-common-datasource -- 动态数据源包
├── pig-common-job -- xxl-job 封装
├── pig-common-log -- 日志服务
├── pig-common-mybatis -- mybatis 扩展封装
├── pig-common-security -- 安全工具类
├── pig-common-swagger -- 接口文档
├── pig-common-feign -- feign 扩展封装
└── pig-common-test -- oauth2.0 单元测试扩展封装
├── pig-register -- Nacos Server[8848]
├── pig-gateway -- Spring Cloud Gateway网关[9999]
└── pig-upms -- 通用用户权限管理模块
└── pig-upms-api -- 通用用户权限管理系统公共api模块
└── pig-upms-biz -- 通用用户权限管理系统业务处理模块[4000]
└── pig-visual
└── pig-monitor -- 服务监控 [5001]
├── pig-codegen -- 图形化代码生成 [5002]
├── pig-sentinel-dashboard -- 流量高可用 [5003]
└── pig-xxl-job-admin -- 分布式定时任务管理台 [5004]
pig 提供了详细的部署文档 wiki.pig4cloud.com,包括开发环境安装、服务端代码运行、前端代码运行等。
请务必完全按照文档部署运行章节 进行操作,减少踩坑弯路!!
# 下载并运行服务端代码
git clone https://gitee.com/log4j/pig.git
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
npm run build:docker && docker-compose up -d
<!-- pig-gen archetype -->
# 在空文件夹执行以下命令,注意 windows 下 \ 修改成 ^
mvn archetype:generate \
-DgroupId=com.pig4cloud \
-DartifactId=demo \
-Dversion=1.0.0-SNAPSHOT \
-Dpackage=com.pig4cloud.pig.demo \
-DarchetypeGroupId=com.pig4cloud.archetype \
-DarchetypeArtifactId=pig-gen \
-DarchetypeVersion=3.2.0 \
-DarchetypeCatalog=local
![]() |
![]() |
![]() |
![]() |
pig 开源软件遵循 Apache 2.0 协议。 允许商业使用,但务必保留类作者、Copyright 信息。
欢迎提交 PR,注意对应提交对应 dev
分支
欢迎提交 issue,请写清楚遇到问题的原因、开发环境、复显步骤。
联系作者 pig4cloud@qq.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。