Update README.md
parent
22bb29d3d9
commit
1c775358b6
103
README.md
103
README.md
|
@ -1 +1,102 @@
|
|||
# 后台二开模板工程
|
||||
# 二开后台环境搭建
|
||||
|
||||
二开后台环境的搭建主要用于平台后端平台功能无法满足的时候使用. 可以扩展以jar包的方式扩展后台的功能.
|
||||
|
||||
## 工具准备
|
||||
|
||||
- eclipse
|
||||
|
||||
<http://www.eclipse.org/downloads/>
|
||||
|
||||
- jdk
|
||||
|
||||
<https://www.oracle.com/java/technologies/downloads/archive/>
|
||||
|
||||
建议版本: jdk8u311
|
||||
|
||||
## 下载后台二开模板工程
|
||||
|
||||
<http://develop.kdayun.com:2019/kdpublic/kdayun-template/-/archive/master/kdayun-template-master.zip>
|
||||
<http://139.196.40.6:2019/kdpublic/kdayun-template.git>
|
||||
|
||||
## eclipse导入maven工程
|
||||
|
||||

|
||||
|
||||
## 修改kdayun-demo工程的名称成项目的名称
|
||||
|
||||
- 修改完名称后入口工程内的pom.xml也要同时更新
|
||||
|
||||
## 配置jdk
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 设置maven的私有库地址
|
||||
|
||||
maven的版本建议:maven 3.2.5
|
||||
|
||||
<https://dlcdn.apache.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip>
|
||||
|
||||
具体maven配置过程依次如下图:
|
||||
|
||||

|
||||
|
||||
``` xml
|
||||
<server\>
|
||||
<id\>kdayun-releases\</id\>
|
||||
<username\>kdayun-community</username\>
|
||||
<password\>kdayun.com</password\>
|
||||
</server\>
|
||||
<server\>
|
||||
<id\>kdayun-snapshots\</id\>
|
||||
<username\>kdayun-community</username\>
|
||||
<password\>kdayun.com</password\>
|
||||
</server\>
|
||||
<mirror\>
|
||||
<id\>kdayun-releases\</id\>
|
||||
<name\>kdayun maven\</name\>
|
||||
<url\>http://develop.kdayun.com:8081/repository/maven-public/</url\>
|
||||
<mirrorOf\>central\</mirrorOf\>
|
||||
</mirror\>
|
||||
```
|
||||
**如果需要发布到快搭私库需要跟快搭客服联系**
|
||||
|
||||
|
||||

|
||||
|
||||
.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 检查maven的配置是否生效
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 刷新mave依赖
|
||||
|
||||

|
||||
|
||||
## 入口jar工程增加二开工程jar的依赖
|
||||
|
||||

|
||||
|
||||
## 模板工作目录说明
|
||||
|
||||

|
||||
|
||||
## 发布
|
||||
|
||||
发布只需要利用平台的更新打包把kdayun-app.jar,
|
||||
kdayun-demo.jar打包生成更新包并上传服务器执行更新.
|
||||
|
||||
|
||||
## **注意事项**
|
||||
1. maven,jdk,模板工程的目录不要放在中文或者类似D:\Program Files\ 这种带有空格目录下
|
Loading…
Reference in New Issue