2021-08-14 06:29:30 +00:00
|
|
|
|
# jimureport-example
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
|
|
|
|
积木报表集成示例代码。
|
|
|
|
|
|
|
|
|
|
```
|
2021-06-30 10:21:05 +00:00
|
|
|
|
采用mysql5.7数据库
|
2021-01-08 02:44:30 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
使用步骤
|
|
|
|
|
-----------------------------------
|
|
|
|
|
|
2021-07-03 10:51:11 +00:00
|
|
|
|
- 第一步:执行初始化脚步(自动创建数据库jimureport)
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
2021-08-14 06:29:30 +00:00
|
|
|
|
db/jimureport.mysql5.7.create.sql
|
2021-03-22 10:00:30 +00:00
|
|
|
|
|
2021-06-30 10:21:05 +00:00
|
|
|
|
- 第三步: 启动项目(右键运行)
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
2021-08-14 06:29:30 +00:00
|
|
|
|
org.jeecg.modules.JimuReportApplication
|
2021-03-22 10:00:30 +00:00
|
|
|
|
|
2021-01-08 02:44:30 +00:00
|
|
|
|
- 第四步: 访问项目
|
|
|
|
|
|
2021-03-22 10:00:30 +00:00
|
|
|
|
http://localhost:8085/jmreport/list
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-03 03:47:27 +00:00
|
|
|
|
Docker镜像制作
|
2021-03-22 10:00:30 +00:00
|
|
|
|
-----------------------------------
|
2021-08-03 03:47:27 +00:00
|
|
|
|
|
|
|
|
|
- 第一步:下载项目
|
|
|
|
|
|
|
|
|
|
git clone https://gitee.com/jeecg/JimuReport.git
|
|
|
|
|
|
2021-08-14 06:29:30 +00:00
|
|
|
|
- 第二步:进入项目 jimureport-example 根目录
|
2021-08-03 03:47:27 +00:00
|
|
|
|
|
2021-08-14 06:29:30 +00:00
|
|
|
|
cd JimuReport/jimureport-example
|
2021-08-03 03:47:27 +00:00
|
|
|
|
|
|
|
|
|
- 第三步:maven执行package
|
|
|
|
|
|
|
|
|
|
mvn clean package
|
|
|
|
|
|
|
|
|
|
- 第四步:执行命令,生成镜像
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
2023-10-17 02:36:32 +00:00
|
|
|
|
>如果使用的是Mac M系列芯片,需要修改docker-compose.yml文件的第一行为:```FROM arm64v8/mysql:8```
|
|
|
|
|
|
2021-03-22 10:00:30 +00:00
|
|
|
|
docker-compose up -d
|
2021-08-03 03:47:27 +00:00
|
|
|
|
|
|
|
|
|
- 第五步:访问报表
|
2021-01-08 02:44:30 +00:00
|
|
|
|
|
2023-10-17 02:36:32 +00:00
|
|
|
|
http://localhost:8085/jmreport/list
|