This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new 3016ce4 [WebSite]Information correction after graduation (#322)
3016ce4 is described below
commit 3016ce4a1641f4d7e9dfc8d75174205006db7aac
Author: QuakeWang <[email protected]>
AuthorDate: Wed Apr 21 11:11:57 2021 +0800
[WebSite]Information correction after graduation (#322)
* Update team.md
The mentors was moved to the PMC list, and PPMC was changed to PMC, add
spaces between Chinese characters and English or numbers.
* Update team.md
The mentors was moved to the PMC list, and PPMC was changed to PMC
* Update development-environment-setup.md
git address need to be modified
* Update development-environment-setup.md
git address need to be modified, and add spaces between Chinese characters
and English or numbers.
* Update team.md
* Update development-environment-setup.md
Modifing the warehouse address
* Update team.md
Modifying the warehouse address
---
community/en-us/team.md | 78 ++++-----
community/zh-cn/team.md | 98 ++++++-----
development/en-us/development-environment-setup.md | 59 ++++---
development/zh-cn/development-environment-setup.md | 188 ++++++++++++---------
4 files changed, 228 insertions(+), 195 deletions(-)
diff --git a/community/en-us/team.md b/community/en-us/team.md
index f798cc4..981429e 100644
--- a/community/en-us/team.md
+++ b/community/en-us/team.md
@@ -2,6 +2,7 @@
title: Team
linkTitle: Team
description: About DolphinScheduler Team.
+
---
# DolphinScheduler Team
@@ -10,50 +11,45 @@ The DolphinScheduler team is comprised of Members and
Contributors. Members have
## Members
-### Mentors
-
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | ------------- |
-| Furkan Kamaci | kamaci | kamaci |
-| Kevin Ratnasekera | djkevincr | djkevincr |
-| Liang Chen | chenliang613 | chenliang613 |
-| Shao Feng Shi | shaofengshi | shaofengshi |
-| Sheng Wu | wusheng | wu-sheng |
-
-### PPMC
-
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | ------------- |
-| Gang Li | lgcareer | lgcareer |
-| Guo Jiwei | technoboy | Technoboy- |
-| Guo William | guowei | William-GuoWei|
-| Jun Gao | gaojun2048 | gaojun2048 |
-| Leon Bao | leonbao | lenboo,leonbao|
-| Lidong Dai | lidongdai | dailidong |
-| Qiao Zhanwei | journey | qiaozhanwei |
-| Wu Baoqi | baoqiwu | Baoqi |
-| Xiaochun Liu | liuxiaochun | khadgarmage |
-| ZijJian Gong | millionfor | millionfor |
+### PMC
+
+| Public Name | Apache ID | GitHub |
+| ----------------- | ------------ | -------------- |
+| Furkan Kamaci | kamaci | kamaci |
+| Gang Li | lgcareer | lgcareer |
+| Guo Jiwei | technoboy | Technoboy- |
+| Guo William | guowei | William-GuoWei |
+| Jun Gao | gaojun2048 | gaojun2048 |
+| Kevin Ratnasekera | djkevincr | djkevincr |
+| Leon Bao | leonbao | lenboo,leonbao |
+| Liang Chen | chenliang613 | chenliang613 |
+| Lidong Dai | lidongdai | dailidong |
+| Qiao Zhanwei | journey | qiaozhanwei |
+| Shao Feng Shi | shaofengshi | shaofengshi |
+| Sheng Wu | wusheng | wu-sheng |
+| Wu Baoqi | baoqiwu | Baoqi |
+| Xiaochun Liu | liuxiaochun | khadgarmage |
+| ZijJian Gong | millionfor | millionfor |
### Committer
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | --------------- |
-| Caibiao Xiang | break60 | break60 |
-| Calvin Kirs | kirs | CalvinKirs |
-| Cong Huang | chongchongzi | chongchongzi |
-| Hemin Wen | wenhemin | wen-hemin |
-| Kai Zhu | zhukai | nauu |
-| Kejia Chen | jave | Jave-Chen |
-| Li Huang | eights | Eights-Li |
-| Lin Li | lilin | samz406 |
-| Shang Lou | clay4megtr | clay4444 |
-| Shaojie Wu | gabrywu | gabrywu |
-| Wenhe Li | liwenhe | liwenhe1993 |
-| Xingchun Chen | chenxingchun | xingchun-chen |
-| Yichao Yang | yangyichao | yangyichao-mango|
-| Zongyao Zhang | lfyee | lfyee |
+| Public Name | Apache ID | GitHub |
+| ------------- | ------------ | ---------------- |
+| Caibiao Xiang | break60 | break60 |
+| Calvin Kirs | kirs | CalvinKirs |
+| Cong Huang | chongchongzi | chongchongzi |
+| Hemin Wen | wenhemin | wen-hemin |
+| Kai Zhu | zhukai | nauu |
+| Kejia Chen | jave | Jave-Chen |
+| Li Huang | eights | Eights-Li |
+| Lin Li | lilin | samz406 |
+| Shang Lou | clay4megtr | clay4444 |
+| Shaojie Wu | gabrywu | gabrywu |
+| Wenhe Li | liwenhe | liwenhe1993 |
+| Xingchun Chen | chenxingchun | xingchun-chen |
+| Yichao Yang | yangyichao | yangyichao-mango |
+| Zongyao Zhang | lfyee | lfyee |
## Contributors
@@ -70,7 +66,7 @@ DolphinScheduler follows the Apache way to build the
community. Anyone can becom
The DolphinScheduler community follows the [Apache Community’s
process](http://community.apache.org/newcommitter.html) on accepting a new
committer.
-1. Start the discussion and vote in @private. Only current (P)PMC member could
nominate.
+1. Start the discussion and vote in @private. Only current PMC member could
nominate.
2. If the vote passes, send an offer to become a committer with @private CC’ed.
3. Setup committer rights
diff --git a/community/zh-cn/team.md b/community/zh-cn/team.md
index 553c324..9a9e442 100644
--- a/community/zh-cn/team.md
+++ b/community/zh-cn/team.md
@@ -1,76 +1,74 @@
---
标题:团队
链接标题:团队
-描述:关于DolphinScheduler团队。
----
+描述:关于 DolphinScheduler 团队。
-# DolphinScheduler团队
+---
-DolphinScheduler团队由成员和贡献者组成。 成员可以直接访问DolphinScheduler项目的源代码并积极地开发代码库。
贡献者通过向成员提交补丁和建议来改善项目。 该项目的贡献者数量是无限的。
无论是琐碎的清理工作,重要的新功能还是其他重大的奖励,对DolphinScheduler所做的所有贡献都将受到极大的赞赏。
+# DolphinScheduler 团队
-## 成员
+DolphinScheduler 团队由成员和贡献者组成。 成员可以直接访问 DolphinScheduler 项目的源代码并积极地开发代码库。
贡献者通过向成员提交补丁和建议来改善项目。 该项目的贡献者数量是无限的。 无论是琐碎的清理工作,重要的新功能还是其他重大的奖励,对
DolphinScheduler 所做的所有贡献都将受到极大的赞赏。
-### 导师
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | ------------- |
-| Furkan Kamaci | kamaci | kamaci |
-| Kevin Ratnasekera | djkevincr | djkevincr |
-| Liang Chen | chenliang613 | chenliang613 |
-| Shao Feng Shi | shaofengshi | shaofengshi |
-| Sheng Wu | wusheng | wu-sheng |
-### PPMC
+## 成员
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | ------------- |
-| Gang Li | lgcareer | lgcareer |
-| Guo Jiwei | technoboy | Technoboy- |
-| Guo William | guowei | William-GuoWei|
-| Jun Gao | gaojun2048 | gaojun2048 |
-| Leon Bao | leonbao | lenboo,leonbao|
-| Lidong Dai | lidongdai | dailidong |
-| Qiao Zhanwei | journey | qiaozhanwei |
-| Wu Baoqi | baoqiwu | Baoqi |
-| Xiaochun Liu | liuxiaochun | khadgarmage |
-| ZijJian Gong | millionfor | millionfor |
+### PMC
+
+| Public Name | Apache ID | GitHub |
+| ----------------- | ------------ | -------------- |
+| Furkan Kamaci | kamaci | kamaci |
+| Gang Li | lgcareer | lgcareer |
+| Guo Jiwei | technoboy | Technoboy- |
+| Guo William | guowei | William-GuoWei |
+| Jun Gao | gaojun2048 | gaojun2048 |
+| Kevin Ratnasekera | djkevincr | djkevincr |
+| Leon Bao | leonbao | lenboo,leonbao |
+| Liang Chen | chenliang613 | chenliang613 |
+| Lidong Dai | lidongdai | dailidong |
+| Qiao Zhanwei | journey | qiaozhanwei |
+| Shao Feng Shi | shaofengshi | shaofengshi |
+| Sheng Wu | wusheng | wu-sheng |
+| Wu Baoqi | baoqiwu | Baoqi |
+| Xiaochun Liu | liuxiaochun | khadgarmage |
+| ZijJian Gong | millionfor | millionfor |
### Committer
-| Public Name | Apache ID | GitHub |
-| -------------------------------- | ------------ | --------------- |
-| Caibiao Xiang | break60 | break60 |
-| Calvin Kirs | kirs | CalvinKirs |
-| Cong Huang | chongchongzi | chongchongzi |
-| Hemin Wen | wenhemin | wen-hemin |
-| Kai Zhu | zhukai | nauu |
-| Kejia Chen | jave | Jave-Chen |
-| Li Huang | eights | Eights-Li |
-| Lin Li | lilin | samz406 |
-| Shang Lou | clay4megtr | clay4444 |
-| Shaojie Wu | gabrywu | gabrywu |
-| Wenhe Li | liwenhe | liwenhe1993 |
-| Xingchun Chen | chenxingchun | xingchun-chen |
-| Yichao Yang | yangyichao | yangyichao-mango|
-| Zongyao Zhang | lfyee | lfyee |
+| Public Name | Apache ID | GitHub |
+| ------------- | ------------ | ---------------- |
+| Caibiao Xiang | break60 | break60 |
+| Calvin Kirs | kirs | CalvinKirs |
+| Cong Huang | chongchongzi | chongchongzi |
+| Hemin Wen | wenhemin | wen-hemin |
+| Kai Zhu | zhukai | nauu |
+| Kejia Chen | jave | Jave-Chen |
+| Li Huang | eights | Eights-Li |
+| Lin Li | lilin | samz406 |
+| Shang Lou | clay4megtr | clay4444 |
+| Shaojie Wu | gabrywu | gabrywu |
+| Wenhe Li | liwenhe | liwenhe1993 |
+| Xingchun Chen | chenxingchun | xingchun-chen |
+| Yichao Yang | yangyichao | yangyichao-mango |
+| Zongyao Zhang | lfyee | lfyee |
## 贡献者
-DolphinScheduler有数百个贡献者,您可以在我们存储库的贡献列表中找到他们。
+DolphinScheduler 有数百个贡献者,您可以在我们存储库的贡献列表中找到他们。
-- [DolphinScheduler main
repository](https://github.com/apache/incubator-dolphinscheduler/graphs/contributors)
-- [DolphinScheduler
website](https://github.com/apache/incubator-dolphinscheduler-website/graphs/contributors)
-- [DolphinScheduler maven
plugin](https://github.com/apache/incubator-dolphinscheduler-maven-plugin/graphs/contributors)
+- [DolphinScheduler main
repository](https://github.com/apache/dolphinscheduler/graphs/contributors)
+- [DolphinScheduler
website](https://github.com/apache/dolphinscheduler-website/graphs/contributors)
+- [DolphinScheduler maven
plugin](https://github.com/apache/dolphinscheduler-maven-plugin/graphs/contributors)
## 成为一个提交者
-DolphinScheduler遵循Apache的方式来构建社区。 只要为项目做出了足够的贡献并赢得了信任,任何人都可以成为提交者。
阅读[贡献者指南](/zh-cn/community/development/contribute.html)参与社区。
+DolphinScheduler 遵循 Apache 的方式来构建社区。 只要为项目做出了足够的贡献并赢得了信任,任何人都可以成为提交者。
阅读[贡献者指南](/zh-cn/community/development/contribute.html)参与社区。
-DolphinScheduler社区在接受新提交者时遵循[Apache社区的流程](http://community.apache.org/newcommitter.html)。
+DolphinScheduler 社区在接受新提交者时遵循 [Apache
社区的流程](http://community.apache.org/newcommitter.html)。
-1.开始讨论并在@private中投票。 只有当前(P)PMC成员可以提名。
-2.如果投票通过,请发送邀请以成为@private CC的提交者。
+1.开始讨论并在 @private 中投票。 只有当前 PMC 成员可以提名。
+2.如果投票通过,请发送邀请以成为 @private CC 的提交者。
3.设置提交者权限
diff --git a/development/en-us/development-environment-setup.md
b/development/en-us/development-environment-setup.md
index b7395a6..4a1a0be 100644
--- a/development/en-us/development-environment-setup.md
+++ b/development/en-us/development-environment-setup.md
@@ -5,50 +5,55 @@
2. Install MySQL/PostgreSQL, JDK and MAVEN in your own software development
environment.
3. Clone your forked repository to the local file system.
+
```
- git clone https://github.com/apache/incubator-dolphinscheduler.git`
+ git clone https://github.com/apache/dolphinscheduler.git
```
+
4. After finished the clone, go into the project directory and execute the
following commands:
+
```
git branch -a #check the branch
git checkout dev #switch to the dev branch
git pull #sychronize the branch with the remote branch
mvn -U clean package -Prelease -Dmaven.test.skip=true #because the
project uses gRPC, you need to compile the project to generate the required
classes
```
+
#### Install node
1. Install nvm
-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh
2. Refresh the environment variables
-source ~/.bash_profile
+ source ~/.bash_profile
3. Install node
-nvm install v12.12.0
-note:mac users could install npm through brew:brew install npm
+ nvm install v12.12.0
+ note:mac users could install npm through brew:brew install npm
4. Validate the node installation
-node --version
+ node --version
#### Install zookeeper
1. Download zookeeper
-http://apache.mirrors.hoobly.com/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz
+
http://apache.mirrors.hoobly.com/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz
2. Copy the zookeeper config file
-cp conf/zoo_sample.cfg conf/zoo.cfg
+ cp conf/zoo_sample.cfg conf/zoo.cfg
3. Modify zookepper config
-vi conf/zoo.cfg
-dataDir=./tmp/zookeeper
+ vi conf/zoo.cfg
+ dataDir=./tmp/zookeeper
4. Start/stop zookeeper
-./bin/zkServer.sh start
-./bin/zkServer.sh stop
+ ./bin/zkServer.sh start
+ ./bin/zkServer.sh stop
#### Create database
Create user, user name: ds_user, password: dolphinscheduler
+
```
mysql> CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT
COLLATE utf8_general_ci;
mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 'ds_user'@'%'
IDENTIFIED BY 'dolphinscheduler';
@@ -59,16 +64,17 @@ Create user, user name: ds_user, password: dolphinscheduler
#### Set up the front-end
1. Enter the dolphinscheduler-ui directory
-cd dolphinscheduler-ui
+ cd dolphinscheduler-ui
2. Run npm install
#### Set up the back-end
1. Import the project to IDEA
-file-->open
+ file-->open
2. Modify the database configuration in the datasource.properties file in the
resource directory of the dao module
+
```
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/dolphinscheduler
@@ -81,10 +87,11 @@ file-->open
4. Refresh the dao module, run the main method of
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler to
automatically insert the tables and data required by the project.
5. Modify the service module
-try to change the zookeeper.quorum part of the zookeeper.properties file
-zookeeper.quorum=localhost:2181
+ try to change the zookeeper.quorum part of the zookeeper.properties file
+ zookeeper.quorum=localhost:2181
6. Modify the .env file of the dolphinscheduler-ui module
+
```
API_BASE = http://localhost:12345
DEV_HOST = localhost
@@ -93,24 +100,31 @@ zookeeper.quorum=localhost:2181
#### Start the project
1. Start zookeeper
-./bin/zkServer.sh start
+ ./bin/zkServer.sh start
2. Start MasterServer
-run the main method of org.apache.dolphinscheduler.server.master.MasterServer,
you need to set the following VM options:
+ run the main method of
org.apache.dolphinscheduler.server.master.MasterServer, you need to set the
following VM options:
+
```
-Dlogging.config=classpath:logback-master.xml
-Ddruid.mysql.usePingMethod=false
```
+
3. Start WorkerServer
-run the main method of org.apache.dolphinscheduler.server.worker.WorkerServer,
you need to set the following VM options:
+ run the main method of
org.apache.dolphinscheduler.server.worker.WorkerServer, you need to set the
following VM options:
+
```
-Dlogging.config=classpath:logback-worker.xml
-Ddruid.mysql.usePingMethod=false
```
+
4. Start ApiApplicationServer
-run the main method of org.apache.dolphinscheduler.api.ApiApplicationServer,
you need to set the following VM options:
+ run the main method of
org.apache.dolphinscheduler.api.ApiApplicationServer, you need to set the
following VM options:
+
```
-Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api
```
+
5. We are not going to start the other modules. if they are required to be
started, check script/dolphinscheduler-daemon.sh and set them the same VM
Options.
+
```
if [ "$command" = "api-server" ]; then
LOG_FILE="-Dlogging.config=classpath:logback-api.xml
-Dspring.profiles.active=api"
@@ -135,8 +149,9 @@ run the main method of
org.apache.dolphinscheduler.api.ApiApplicationServer, you
6. cd dolphinscheduler-ui directory and run npm run start
#### Visit the project
+
1. Visit http://localhost:12345/dolphinscheduler
2. Sign in with the administrator account
-username: admin
-password: dolphinscheduler123
\ No newline at end of file
+ username: admin
+ password: dolphinscheduler123
diff --git a/development/zh-cn/development-environment-setup.md
b/development/zh-cn/development-environment-setup.md
index aec38a1..81d94c4 100644
--- a/development/zh-cn/development-environment-setup.md
+++ b/development/zh-cn/development-environment-setup.md
@@ -1,44 +1,53 @@
#### 准备工作
-1. 首先从远端仓库fork
[dolphinscheduler](https://github.com/apache/incubator-dolphinscheduler)
一份代码到自己的仓库中
-2. 在开发环境中安装好MySQL/PostgreSQL、JDK、MAVEN
-3. 把自己仓库clone到本地
- ` git clone https://github.com/apache/incubator-dolphinscheduler.git`
-
-4. git clone项目后,进入项目目录,执行以下命令。
+1. 首先从远端仓库 fork [dolphinscheduler](https://github.com/apache/dolphinscheduler)
一份代码到自己的仓库中
+
+2. 在开发环境中安装好 MySQL/PostgreSQL、JDK、MAVEN
+
+3. 把自己仓库 clone 到本地
+
+ ` git clone https://github.com/apache/dolphinscheduler.git`
+
+4. git clone 项目后,进入项目目录,执行以下命令。
+
```
1. git branch -a #查看分支
2. git checkout dev #切换到dev分支
3. git pull #同步分支
4. mvn -U clean package -Prelease -Dmaven.test.skip=true
#由于项目使用了gRPC,所以需要先编译项目生成需要的类。
```
+
#### 安装node
+
1. 安装nvm
-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh
| bash
2. 刷新环境变量
- source ~/.bash_profile
+ source ~/.bash_profile
3. 安装node
-nvm install v12.12.0
-备注:mac用户还可以通过brew安装npm:brew install npm
+ nvm install v12.12.0
+ 备注:mac用户还可以通过brew安装npm:brew install npm
4. 验证node安装成功
- node --version
-
+ node --version
+
-#### 安装zookeeper
-1. 下载zookeeper
-http://apache.mirrors.hoobly.com/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz
+#### 安装 zookeeper
+
+1. 下载 zookeeper
+
http://apache.mirrors.hoobly.com/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz
2. 复制配置文件
-cp conf/zoo_sample.cfg conf/zoo.cfg
+ cp conf/zoo_sample.cfg conf/zoo.cfg
3. 修改配置
-vi conf/zoo.cfg
-dataDir=./tmp/zookeeper
-4. 启动/停止zookeeper
-./bin/zkServer.sh start
-./bin/zkServer.sh stop
+ vi conf/zoo.cfg
+ dataDir=./tmp/zookeeper
+4. 启动/停止 zookeeper
+ ./bin/zkServer.sh start
+ ./bin/zkServer.sh stop
#### 创建数据库
-1. 创建用户名为ds_user,密码为dolphinscheduler的用户
+
+1. 创建用户名为 ds_user,密码为 dolphinscheduler 的用户
+
```
mysql> CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT
COLLATE utf8_general_ci;
mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 'ds_user'@'%' IDENTIFIED
BY 'dolphinscheduler';
@@ -48,75 +57,90 @@ mysql> flush privileges;
```
#### 搭建前端
-1. 进入dolphinscheduler-ui的目录
-cd dolphinscheduler-ui
-2. 执行npm install
+
+1. 进入 dolphinscheduler-ui 的目录
+ cd dolphinscheduler-ui
+2. 执行 npm install
#### 搭建后端
-1. 将项目导入到idea中
-file-->open
-2. 修改dao模块resource目录下datasource.properties文件中的数据库配置信息
- ```
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.url=jdbc:mysql://localhost:3306/dolphinscheduler
- spring.datasource.username=ds_user
- spring.datasource.password=dolphinscheduler
- ```
-3. 修改根项目中pom.xml,将mysql-connector-java依赖的scope修改为compile
-
-4.
刷新dao模块,运行org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler的main方法,自动插入项目所需的表和数据
-
-5. 修改service模块zookeeper.properties中链接信息(zookeeper.quorum)
- zookeeper.quorum=localhost:2181
-
-6. 修改dolphinscheduler-ui模块的.env文件
+
+1. 将项目导入到 idea 中
+ file-->open
+
+2. 修改 dao 模块 resource 目录下 datasource.properties 文件中的数据库配置信息
+
+ ```
+ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+ spring.datasource.url=jdbc:mysql://localhost:3306/dolphinscheduler
+ spring.datasource.username=ds_user
+ spring.datasource.password=dolphinscheduler
+ ```
+
+3. 修改根项目中 pom.xml,将 mysql-connector-java 依赖的 scope 修改为 compile
+
+4. 刷新 dao 模块,运行
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler 的main
方法,自动插入项目所需的表和数据
+
+5. 修改 service 模块 zookeeper.properties 中链接信息 (zookeeper.quorum)
+ zookeeper.quorum=localhost:2181
+
+6. 修改dolphinscheduler-ui模块的 .env 文件
+
```
API_BASE = http://localhost:12345
DEV_HOST = localhost
-```
+```
+
#### 启动项目
-1. 启动zookeeper
-./bin/zkServer.sh start
-2.
启动MasterServer,执行org.apache.dolphinscheduler.server.master.MasterServer的main方法,需要设置VM
Options:
- ```
- -Dlogging.config=classpath:logback-master.xml
-Ddruid.mysql.usePingMethod=false
- ```
+
+1. 启动 zookeeper
+ ./bin/zkServer.sh start
+
+2. 启动 MasterServer,执行 org.apache.dolphinscheduler.server.master.MasterServer 的
main 方法,需要设置 VM Options:
+
+ ```
+ -Dlogging.config=classpath:logback-master.xml
-Ddruid.mysql.usePingMethod=false
+ ```
3.
启动WorkerServer,执行org.apache.dolphinscheduler.server.worker.WorkerServer的main方法,需要设置VM
Options:
- ```
- -Dlogging.config=classpath:logback-worker.xml
-Ddruid.mysql.usePingMethod=false
- ```
-
-4.
启动ApiApplicationServer,执行org.apache.dolphinscheduler.api.ApiApplicationServer的main方法,需要设置VM
Options:
- ```
- -Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api
- ```
-
+
+ ```
+ -Dlogging.config=classpath:logback-worker.xml
-Ddruid.mysql.usePingMethod=false
+ ```
+
+4. 启动 ApiApplicationServer,执行
org.apache.dolphinscheduler.api.ApiApplicationServer 的 main 方法,需要设置 VM Options:
+
+ ```
+ -Dlogging.config=classpath:logback-api.xml
-Dspring.profiles.active=api
+ ```
+
5. ,这里暂时不启动其它模块,如果启动其它模块,那么去查询script/dolphinscheduler-daemon.sh文件,设置相应的VM
Options
- ```
- if [ "$command" = "api-server" ]; then
- LOG_FILE="-Dlogging.config=classpath:logback-api.xml
-Dspring.profiles.active=api"
- CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer
- elif [ "$command" = "master-server" ]; then
- LOG_FILE="-Dlogging.config=classpath:logback-master.xml
-Ddruid.mysql.usePingMethod=false"
- CLASS=org.apache.dolphinscheduler.server.master.MasterServer
- elif [ "$command" = "worker-server" ]; then
- LOG_FILE="-Dlogging.config=classpath:logback-worker.xml
-Ddruid.mysql.usePingMethod=false"
- CLASS=org.apache.dolphinscheduler.server.worker.WorkerServer
- elif [ "$command" = "alert-server" ]; then
- LOG_FILE="-Dlogback.configurationFile=conf/logback-alert.xml"
- CLASS=org.apache.dolphinscheduler.alert.AlertServer
- elif [ "$command" = "logger-server" ]; then
- CLASS=org.apache.dolphinscheduler.server.log.LoggerServer
- else
- echo "Error: No command named \`$command' was found."
- exit 1
- fi
- ```
-6. 启动前端ui模块
-cd dolphinscheduler-ui目录,执行npm run start
+
+ ```
+ if [ "$command" = "api-server" ]; then
+ LOG_FILE="-Dlogging.config=classpath:logback-api.xml
-Dspring.profiles.active=api"
+ CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer
+ elif [ "$command" = "master-server" ]; then
+ LOG_FILE="-Dlogging.config=classpath:logback-master.xml
-Ddruid.mysql.usePingMethod=false"
+ CLASS=org.apache.dolphinscheduler.server.master.MasterServer
+ elif [ "$command" = "worker-server" ]; then
+ LOG_FILE="-Dlogging.config=classpath:logback-worker.xml
-Ddruid.mysql.usePingMethod=false"
+ CLASS=org.apache.dolphinscheduler.server.worker.WorkerServer
+ elif [ "$command" = "alert-server" ]; then
+ LOG_FILE="-Dlogback.configurationFile=conf/logback-alert.xml"
+ CLASS=org.apache.dolphinscheduler.alert.AlertServer
+ elif [ "$command" = "logger-server" ]; then
+ CLASS=org.apache.dolphinscheduler.server.log.LoggerServer
+ else
+ echo "Error: No command named \`$command' was found."
+ exit 1
+ fi
+ ```
+
+6. 启动前端 ui 模块
+ cd dolphinscheduler-ui 目录,执行 npm run start
#### 访问项目
-1. 访问http://localhost:12345/dolphinscheduler
-输入管理员账户admin,密码dolphinscheduler123进行登陆
+
+1. 访问 http://localhost:12345/dolphinscheduler
+ 输入管理员账户 admin,密码 dolphinscheduler123 进行登陆