|
21 | 21 | </a> |
22 | 22 | </p> |
23 | 23 |
|
24 | | - |
25 | | -#### SpringBoot Scaffolding |
26 | | - |
27 | 24 | ### spring-boot-plus是一套集成spring boot常用开发组件的后台快速开发框架 |
| 25 | +> Spring-Boot-Plus是易于使用,快速,高效,功能丰富,开源的spring boot 脚手架. |
28 | 26 |
|
29 | | -## Purpose |
| 27 | +## 目标 |
30 | 28 | > 每个人都可以独立、快速、高效地开发项目! |
31 | 29 |
|
32 | | -> Everyone can develop projects independently, quickly and efficiently! |
| 30 | +## 文档 |
| 31 | +#### [GITHUB](https://github.com/geekidea/spring-boot-plus) | [GITEE](https://gitee.com/geekidea/spring-boot-plus) |
33 | 32 |
|
34 | | -## Quick Start |
35 | | -#### 官网地址:[springboot.plus](http://springboot.plus "springboot.plus") |
36 | | -#### GITHUB:[https://github.com/geekidea/spring-boot-plus](https://github.com/geekidea/spring-boot-plus "spring-boot-plus github") |
37 | | -#### GITEE:[https://gitee.com/geekidea/spring-boot-plus](https://gitee.com/geekidea/spring-boot-plus "spring-boot-plus gitee") |
| 33 | +#### Website:[springboot.plus](http://springboot.plus "springboot.plus") |
38 | 34 |
|
39 | | -# Architecture |
| 35 | +# 项目架构 |
40 | 36 |  |
41 | 37 |
|
42 | | - |
43 | 38 | ### 主要特性 |
44 | 39 | 1. 集成spring boot 常用开发组件集、公共配置、AOP日志等 |
45 | 40 | 2. 集成mybatis plus快速dao操作 |
@@ -79,8 +74,58 @@ jwt | 0.9.1 | json web token | |
79 | 74 | hutool-all | 4.5.10 | 常用工具集 | |
80 | 75 |
|
81 | 76 |
|
82 | | -## spring-boot-plus QQ技术交流群 |
83 | | - |
84 | | - |
85 | | - |
86 | | -#### 官网地址:[springboot.plus](http://springboot.plus "springboot.plus") |
| 77 | +## 使用 |
| 78 | +### 克隆 spring-boot-plus |
| 79 | +```bash |
| 80 | +git clone https://github.com/geekidea/spring-boot-plus.git |
| 81 | +cd spring-boot-plus |
| 82 | +``` |
| 83 | + |
| 84 | +### Maven 构建 |
| 85 | +> 默认使用local环境,对应配置文件:application-local.yml |
| 86 | +
|
| 87 | +```bash |
| 88 | +mvn clean package -Plocal |
| 89 | +``` |
| 90 | + |
| 91 | +### 项目入口类 |
| 92 | +```bash |
| 93 | +/** |
| 94 | + * spring-boot-plus 项目启动入口 |
| 95 | + * @author geekidea |
| 96 | + * @since 2018-11-08 |
| 97 | + */ |
| 98 | +@EnableAsync |
| 99 | +@EnableScheduling |
| 100 | +@EnableTransactionManagement |
| 101 | +@EnableConfigurationProperties |
| 102 | +@EnableAdminServer |
| 103 | +@MapperScan({"io.geekidea.springbootplus.**.mapper"}) |
| 104 | +@SpringBootApplication |
| 105 | +public class SpringBootPlusApplication { |
| 106 | + |
| 107 | + public static void main(String[] args) { |
| 108 | + // 启动spring-boot-plus |
| 109 | + ConfigurableApplicationContext context = SpringApplication.run(SpringBootPlusApplication.class, args); |
| 110 | + // 打印项目信息 |
| 111 | + PrintApplicationInfo.print(context); |
| 112 | + } |
| 113 | + |
| 114 | +} |
| 115 | +``` |
| 116 | + |
| 117 | +## 快速开始 |
| 118 | +[快速开始](https://springboot.plus/guide/quick-start.html) |
| 119 | + |
| 120 | +## 文档 |
| 121 | + [https://springboot.plus](https://springboot.plus) |
| 122 | + |
| 123 | +## 联系 |
| 124 | + |
| 125 | +- spring-boot-plus技术交流群 |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | +## License |
| 131 | +spring-boot-plus is under the Apache 2.0 license. See the [LICENSE](https://github.com/geekidea/spring-boot-plus/blob/master/LICENSE) file for details. |
0 commit comments