-
-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy pathreadme.md
350 lines (196 loc) · 8.03 KB
/
readme.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# EasyEE 开源 JavaEE 企业级快速开发平台
EasyEE 是一个开源 JaveEE 企业级快速开发基础平台,提供多种技术方案选择,支持 Spring Boot, Hibernate, MyBatis, Struts, Shiro, Spring-Data-Redis(Jedis) 等核心框架。
整合了广泛使用的 JaveEE 领域优秀框架及 EasyUI 前端框架;提供了基于用户、角色、权限方案的后台权限管理系统,安全管理框架及常用开发组件。为企业级项目开发提供了基础架构和规范。
提供 [EasyEE Auto](https://github.com/ushelp/EasyEE-Auto 'EasyEE Auto') 自动化代码生成器。
EasyEE is an open source JaveEE enterprise-class rapid development of the basic platform, provide a variety of technical options options, support Spring Boot, Hibernate, MyBatis, Struts, Shiro and other core framework.
It integrates the widely used framework of JaveEE domain and EasyUI front-end framework. It provides the back-end rights management system, security management framework and common development components based on user, role and permission scheme. Provides infrastructure and specifications for enterprise-level project development.
[EasyEE Auto](https://github.com/ushelp/EasyEE-Auto 'EasyEE Auto') automated code generator is provided.
## EasyEE Releases/EasyEE 发行版本
根据喜好,提供可供选择的多种技术框架组合。
Provide a variety of technical framework combinations.
- **EasyEE-SH-SpringBoot**: `Spring Boot` + `Hibernate(JPA)`
- **EasyEE-SM-SpringBoot**: `Spring Boot` + `MyBatis`
- **EasyEE-SSH**: `Spring` + `Struts2` + `Hibernate(JPA)`
- **EasyEE-SH**: `SpringMVC` + `Hibernate(JPA)`
- **EasyEE-SM**: `SpringMVC` + `MyBatis`
### EasyEE-SH(JPA)-SpringBoot
---------------------------
- **Spring Boot 1.5+**
- **Hibernate 5+(JPA)**
- **Shiro 2+**
- EasyCommonDAO
- EasyShiro
- EasyFilter
- EasyUI 1.4+
- EasyUIEx 2.2+
#### Develop documentation/开发文档
[中文](doc/SHSpringBoot/EasyEE-shpringboot-readme-zh_CN.md)
[English](doc/SHSpringBoot/EasyEE-shpringboot-readme-en.md)
### EasyEE-SM-SpringBoot
---------------------------
- **Spring Boot 1.5+**
- **MyBatis 3.4+**
- **Shiro 2+**
- EasyCommonDAO
- EasyShiro
- EasyFilter
- EasyUI 1.4+
- EasyUIEx 2.2+
#### Develop documentation/开发文档
[中文](doc/SMSpringBoot/EasyEE-smspringboot-readme-zh_CN.md)
[English](doc/SMSpringBoot/EasyEE-smspringboot-readme-en.md)
### EasyEE-SSH(JPA)
---------------------------
- **Struts 2.5+**
- **Hibernate 5+(JPA)**
- **Spring 4+**
- **Shiro 2+**
- EasyCommonDAO
- EasyShiro
- EasyFilter
- EasyUI 1.4+
- EasyUIEx 2.2+
#### Develop documentation/开发文档
[中文](doc/SSH/EasyEE-ssh-readme-zh_CN.md)
[English](doc/SSH/EasyEE-ssh-readme-en.md)
### EasyEE-SH(JPA)
---------------------------
- **Spring 4+(SpringMVC)**
- **Hibernate 5+(JPA)**
- **Shiro 2+**
- EasyCommonDAO
- EasyShiro
- EasyFilter
- EasyUI 1.4+
- EasyUIEx 2.2+
#### Develop documentation/开发文档
[中文](doc/SH/EasyEE-sh-readme-zh_CN.md)
[English](doc/SH/EasyEE-sh-readme-en.md)
### EasyEE-SM
---------------------------
- **Spring 4+(SpringMVC)**
- **MyBatis 3.4+**
- **Shiro 2+**
- EasyMyBatis-Pagination
- EasyShiro
- EasyFilter
- EasyUI 1.4+
- EasyUIEx 2.2+
#### Develop documentation/开发文档
[中文](doc/SM/EasyEE-sm-readme-zh_CN.md)
[English](doc/SM/EasyEE-sm-readme-en.md)
## Run/运行
### 中文
1. 运行环境
- JDK 7+
- Oracle / MySQL 5.7
- Maven 3+
2. 安装 `Maven local artifact install/` 下的 Maven 本地库
- Windows: `install.bat`
- Linux: `install.sh`
3. 创建数据库
执行相应 SQL 脚本 `database\DATABASE_easyee_LANGUAGE[_COUNTRY].sql`
- MySQL
```SQL
mysql> source MySQL_easyee_LANGUAGE[_COUNTRY].sql
```
- Oracle(**代码默认基于 MySQL,基于 Oracle 需要手动修改实体主键生成策略**)
```SQL
SQL> start Oracle_easyee_LANGUAGE[_COUNTRY].sql
```
4. 编辑 JDBC 数据库连接配置参数
- Spring Boot: `src/main/resources/application.properties`
- Non-Spring Boot: `src/main/resources/db.properties`
5. 启动
- 执行 `startup.bat`/`startup.sh`
- 或者
- Spring Boot: `mvn compile spring-boot:run`
- Non-Spring Boot: `mvn jetty:run`,`mvn tomcat7:run`
6. 访问( Jetty HTTP 端口 `9999`, Tomcat 端口 `8080`)
[http://localhost:9999/](http://localhost:9999/)
最高管理员用户名: `admin`
密码: `admin123`
### English
1. Run Enviroment
- JDK 7+
- Oracle / MySQL 5.7
- Maven 3+
2. Execute `Maven local artifact install/`
- Windows: `install.bat`
- Linux: `install.sh`
3. Create database
execute `database\DATABASE_easyee_LANGUAGE[_COUNTRY].sql`
- MySQL
```SQL
mysql> source MySQL_easyee_LANGUAGE[_COUNTRY].sql
```
- Oracle (**The code default use MySQL, If want to run with Oracle need modify entity primary key generator**)
```SQL
SQL> start Oracle_easyee_LANGUAGE[_COUNTRY].sql
```
4. Edit jdbc properties
- Spring Boot: `src/main/resources/application.properties`
- Non-Spring Boot: `src/main/resources/db.properties`
5. Start
- Run `startup.bat`/`startup.sh`
- Or
- Spring Boot: `mvn compile spring-boot:run`
- Non-Spring Boot: `mvn jetty:run`,`mvn tomcat7:run`
6. Visit( Jetty HTTP port `9999`, Tomcat HTTP port `8080`)
[http://localhost:9999/](http://localhost:9999/)
Username: `admin`
Password: `admin123`
## Monitoring/监控
[JavaMelody](https://github.com/javamelody/javamelody/wiki) based performance monitoring, **Must log in EasyEE first**.
`http://127.0.0.1:9999/monitoring`
## CKEditor&CKFiner
EasyEE 不提供 CKFinder 的授权,如需授权请联系 CKFinder 购买。
Easyy does not provide CKFiner license, please contact CKFinder purchase.
- Non-SpringBoot:
`http://127.0.0.1:9999/test/ckeditor.jsp`
- SpringBoot:
`http://127.0.0.1:9999/test/ckeditor`
## Redis
- 集成了 Spring-Data-Redis(Jedis)。 Integrated Spring-Data-Redis (Jedis).
- `redis/redis.xml`(Single Node)
- `redis/redis_sentinel.xml`
- 支持基于 Redis 的 Shiro Session 和 Cache,方便集群管理。Support Shiro Session and Cache based on Redis, to use cluster management.
- `shiro_redis.xml`
## Demo
[Demo Online](http://www.easyproject.cn/easyee 'Demo')
Username: `demo`
Password: `111111`
![Demo](doc/images/easyee.png)
## EasyEE Auto
EasyEE 自动化代码生成器。
EasyEE Automated code generator。
[EasyEE Auto](https://github.com/ushelp/EasyEE-Auto 'EasyEE Auto')
## The EasyEE Roadmap
### EasyEE-BootStrap
- Use BootStrap UI
> EasyUI 主要面向企业后台,注重商业效率,组件更加全面,有官方维护。
>
> Bootstrap 的响应式方面更加现代化,UI 更灵活,组件方面主要依靠生态自身的繁荣。
### Planned versions/计划版本
- **EasyEE 5.0.0**:
Module Support
## Official home/官方主页
### 中文
[官方主页](http://www.easyproject.cn/easyee/zh-cn/index.jsp '官方主页')
[留言评论](http://www.easyproject.cn/easyee/zh-cn/index.jsp#donation '留言评论')
### English
[The official home page](http://www.easyproject.cn/easyee/en/index.jsp 'The official home page')
[Comments](http://www.easyproject.cn/easyee/en/index.jsp#donation 'Comments')
## End
Email:<[email protected]>
[http://www.easyproject.cn](http://www.easyproject.cn "EasyProject Home")
**Donation/捐助:**
<a href="http://www.easyproject.cn/donation">
<img alt="
支付宝/微信/QQ/云闪付/PayPal 扫码支付" src="http://www.easyproject.cn/thanks/donation.png" title="支付宝/微信/QQ/云闪付/PayPal 扫码支付" height="320" width="320"></img></a>
<div>支付宝/微信/QQ/云闪付/PayPal</div>
<br/>
我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。
**感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。**
We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.
**Thank you donation to support the server running and encourage more community members.**