You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghe-report/doc/docs/guide/quicklyDistribution.md

50 lines
1.7 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

```
第一步下载zip包解压<br>
第二步conf->bootstrap-dev.yml修改mysql连接<br>
第三步启动bin目录下start.sh<br>
第四步,访问 http://localhost:9095
```
## 下载发行版
下载地址:[https://gitee.com/anji-plus/report/releases](https://gitee.com/anji-plus/report/releases)
![img.png](../picture/quickly/img.png)
## 修改mysql连接
解压下载好的Zip包找到bootstrap-dev.yml <br>
report-core-XXX --> conf --> bootstrap-dev.yml <br>
![img_1.png](../picture/quickly/img_1.png)
将图中关于mysql的连接配置信息换成你使用的IP <br>
**注**aj_report库是存放底层基础信息的库flyway启动时会自动建立如果你在这里修改了库将会出错<br>
![bootstrap.png](../picture/quickly/img_2.png) <br>
**注**请确认你的Mysql是否支持远程连接登陆用户是否有DDL权限
## 修改路径
使用上传功能,必须修改此内容
![file.png](../picture/quickly/img_5.png)
## 启动
linux启动<br>
report-core-XXX --> bin -->sh start.sh <br>
windows启动<br>
report-core-XXX --> bin --> start.bat <br>
修改第4行的JAVA_HOME改成你自己的JAVA_HOME并去掉**rem**注释,双击启动<br>
![java.png](../picture/quickly/img_7.png) <br>
**注**如果你JAVA_HOME目录存在空格将bat文件最下面的JAVA_HOME添加""号
![img.png](../picture/quickly/img_8.png)
## 访问
http://localhost:9095 <br>
默认密码admin 123456
## 重置mysql连接
登陆进来后请重置mysql连接 <br>
数据源 --> mysql数据源 --> 编辑 --> 修改用户名密码 <br>
![img](../picture/quickly/img_14.png) <br>
![img_6.png](../picture/quickly/img_6.png) <br>