JimuReport/jimureport-example/README.md

67 lines
1.5 KiB
Markdown
Raw Blame History

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.

# jimureport-example
积木报表集成示例代码。
```
采用mysql5.7数据库
```
使用步骤
-----------------------------------
- 第一步执行初始化脚步自动创建数据库jimureport
db/jimureport.mysql5.7.create.sql
- 第三步: 启动项目(右键运行)
org.jeecg.modules.JimuReportApplication
- 第四步: 访问项目默认账号admin 密码123456
报表工作台: http://localhost:8085/jmreport/list
仪表盘工作台: http://localhost:8085/drag/list
Docker镜像制作
-----------------------------------
- 第一步:下载项目
git clone https://gitee.com/jeecg/JimuReport.git
- 第二步:进入项目 jimureport-example 根目录
cd JimuReport/jimureport-example
- 第三步maven执行package
mvn clean package
- 第四步:执行命令,生成镜像
docker-compose up -d
- 第五步访问报表默认账号admin 密码123456
报表工作台: http://localhost:8085/jmreport/list
仪表盘工作台: http://localhost:8085/drag/list
> 如果使用的是Mac M系列芯片:
**1、将`jimureport-mysql`的基础镜像改为arm平台**
修改`JimuReport/db/Dockerfile`文件的第一行为:`FROM arm64v8/mysql:8`
**2、 将`jimureport`的基础镜像改为arm平台**
* 制作基于arm架构的jdk8的docker镜像。
* 修改 `JimuReport/Dockerfile`文件的第一行为:`FROM <制作的镜像名称>`