Skip to content

Commit cc4e328

Browse files
authored
[doc] Translate part of documentation development.md under zh-cn directory from en to zh-cn (apache#1995)
1 parent 44a8f7b commit cc4e328

File tree

1 file changed

+21
-21
lines changed
  • home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community

1 file changed

+21
-21
lines changed

home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/development.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,53 +22,53 @@ sidebar_label: 运行编译
2222

2323
### 前端启动
2424

25-
1. 需要 `nodejs yarn` 环境, Make sure `Node.js >= 18`
25+
1. 需要 `nodejs yarn` 环境, 版本要求 `Node.js >= 18`
2626

2727
2. 进入 `web-app` 目录: `cd web-app`
2828

2929
3. 安装yarn: `npm install -g yarn`
3030

31-
4. 在前端工程目录 `web-app` 下执行: `yarn install` or `yarn install --registry=https://registry.npmmirror.com` in `web-app`
31+
4. 在前端工程目录 `web-app` 下执行: `yarn install` 或者 `yarn install --registry=https://registry.npmmirror.com`
3232

3333
5. 全局安装 `angular-cli`: `yarn global add @angular/cli@15` or `yarn global add @angular/cli@15 --registry=https://registry.npmmirror.com`
3434

3535
6. 待本地后端启动后,在web-app目录下启动本地前端 `ng serve --open`
3636

37-
7. 浏览器访问 localhost:4200 即可开始,默认账号密码 admin/hertzbeat**
37+
7. 浏览器访问 localhost:4200 即可开始,默认账号密码 admin/hertzbeat
3838

39-
## Build HertzBeat binary package
39+
## 生成二进制包
4040

41-
> Requires `maven3+`, `java17`, `node` and `yarn` environments.
41+
> 需要 `maven3+`, `java17`, `node` `yarn` 环境.
4242
43-
### Frontend build
43+
### 前端打包
4444

45-
1. Need `Node Yarn` Environment, Make sure `Node.js >= 18`
45+
1. 需要 `Node Yarn` 环境, 版本要求 `Node.js >= 18`
4646

47-
2. Cd to the `web-app` directory: `cd web-app`
47+
2. 切换到 `web-app` 目录: `cd web-app`
4848

49-
3. Install yarn if not existed `npm install -g yarn`
49+
3. 安装 yarn: `npm install -g yarn`
5050

51-
4. Install Dependencies: `yarn install` or `yarn install --registry=https://registry.npmmirror.com` in `web-app`
51+
4. 安装本项目依赖: `yarn install` `yarn install --registry=https://registry.npmmirror.com`
5252

53-
5. Build web-app: `yarn package`
53+
5. 打包: `yarn package`
5454

5555

56-
### Backend build
56+
### 后端打包
5757

58-
1. Requires `maven3+`, `java17` environments
58+
1. 需要 `maven3+`, `java17` 环境
5959

60-
2. Execute under the project root directory: `mvn clean package -Prelease`
60+
2. 在项目根目录运行: `mvn clean package -Prelease`
6161

62-
The HertzBeat install package will at `dist/hertzbeat-{version}.tar.gz`
62+
HertzBeat 包将生成为 `dist/hertzbeat-{version}.tar.gz`
6363

64-
### Collector build
64+
### 采样器打包
6565

66-
1. Requires `maven3+`, `java17` environments
66+
1. 需要 `maven3+`, `java17` 环境
6767

68-
2. Execute under the project root directory: `mvn clean install`
68+
2. 在项目根目录运行: `mvn clean install`
6969

70-
3. Cd to the `collector` directory: `cd collector`
70+
3. 切换到 `collector` 目录: `cd collector`
7171

72-
4. Execute under `collector` directory: `mvn clean package -Pcluster`
72+
4. `collector` 目录下执行: `mvn clean package -Pcluster`
7373

74-
The HertzBeat collector package will at `dist/hertzbeat-collector-{version}.tar.gz`
74+
HertzBeat 采样器包将生成为 `dist/hertzbeat-collector-{version}.tar.gz`

0 commit comments

Comments
 (0)