You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obsidian-sync/公司环境/hertzbeat/1.开发环境搭建(1.7.x版本).md

30 lines
700 B

3 months ago
https://hertzbeat.apache.org/zh-cn/docs/community/development
## 一、后端
1. 安装jdk17
2. 启动
![[Pasted image 20250526174733.png]]
3. 打包
在项目根目录运行: `mvn clean package -Prelease`
+ springboot 配置
![[Pasted image 20250527095510.png]]
https://arrow.apache.ac.cn/docs/java/install.html
![[Pasted image 20250527095621.png]]
```shell
# 高版本JDK需要加入
--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED
```
## 二、前端
1. 依赖安装
![[Pasted image 20250526175221.png]]
2. 启动
![[Pasted image 20250526175236.png]]
3. 打包
![[Pasted image 20250526175250.png]]
## 三、采样器
1. 打包
![[Pasted image 20250526175431.png]]