1
0
mirror of synced 2025-12-23 13:48:02 +08:00
Files
AJ-Report/doc/docs/guide/quicklySource.md
2021-07-23 15:21:42 +08:00

44 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
```
git clone https://gitee.com/anji-plus/report.git
cd report
sh build.sh
编译完成放在build文件夹 report-core-xxxx.zip
unzip report-core-xxxx.zip
cd report-core-xxxx
vim conf/bootstrap-dev.yml 数据库连接、上传文件的路径以及地址修改
sh bin/start.sh
```
## 编译环境
请在Linux上先准备好maven、node.js、jdk
- [Apache Maven] 3.5 +<br>
- [Node.js] v14.16.0+<br>
- [Jdk] 1.8 <br>
**注**:已知**Jdk11**存在兼容性问题
## 克隆源码
git clone https://gitee.com/anji-plus/report.git <br>
## build
进入report目录启动build.sh
![img_4.png](../picture/quickly/img_4.png)
编译完成后是放在当前目录下的build文件夹中report-core-xxxx.zip <br>
**注**脚本目前没有校验是否有Jdk、Git、Node.js
## 解压修改mysql连接
![img_1.png](../picture/quickly/img_1.png)
## 修改路径
使用上传功能,必须修改此内容
![file.png](../picture/quickly/img_5.png)
## 启动
report-core-XXX --> bin --> start.sh <br>
sh bin/start.sh <br>
**注**脚本目前没有校验是否有Jdk、Mysql
## 访问
http://serverip:9095 <br>
默认密码admin 123456