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 390012e  docs : add the VM Options of the specified configuration 
(#607)
390012e is described below

commit 390012e7cec79f6f46fa75d6bdf8873282c2a9ef
Author: Molin Wang <[email protected]>
AuthorDate: Fri Dec 24 09:48:34 2021 +0800

    docs : add the VM Options of the specified configuration (#607)
---
 development/en-us/development-environment-setup.md | 8 +++++---
 development/zh-cn/development-environment-setup.md | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/development/en-us/development-environment-setup.md 
b/development/en-us/development-environment-setup.md
index 30973f3..5d5ae57 100644
--- a/development/en-us/development-environment-setup.md
+++ b/development/en-us/development-environment-setup.md
@@ -134,11 +134,13 @@ Following steps will guide how to start the 
DolphinScheduler backend service
 
 There are three necessary server we have to start, including 
MasterServer,WorkerServer,ApiApplicationServer, and a optional server you could 
start if you need, named LoggerServer.
 
-* MasterServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.server.master.MasterServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false`
-* WorkerServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.server.worker.WorkerServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false`
-* ApiApplicationServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.api.ApiApplicationServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api`. After it started, you could find Open API 
documentation in http://localhost:12345/dolphinscheduler/doc.html
+* MasterServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.server.master.MasterServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
+* WorkerServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.server.worker.WorkerServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
+* ApiApplicationServer:Execute function `main` in the class 
`org.apache.dolphinscheduler.api.ApiApplicationServer` by Intellij IDEA, with 
the configuration *VM Options* `-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api,mysql`. After it started, you could find Open API 
documentation in http://localhost:12345/dolphinscheduler/doc.html
 * LoggerServer:**Optional server, only start if you need**,Execute function 
`main` in the class `org.apache.dolphinscheduler.server.log.LoggerServer` by 
Intellij IDEA
 
+> The `mysql` in the VM Options `-Dspring.profiles.active=mysql` means 
specified configuration file
+
 ### Start Frontend Server
 
 Install frontend dependencies and run it
diff --git a/development/zh-cn/development-environment-setup.md 
b/development/zh-cn/development-environment-setup.md
index 9671901..aa40993 100644
--- a/development/zh-cn/development-environment-setup.md
+++ b/development/zh-cn/development-environment-setup.md
@@ -131,11 +131,13 @@ DolphinScheduler 的元数据存储在关系型数据库中,目前支持的关
 
 我们需要启动三个必须服务,包括 MasterServer,WorkerServer,ApiApplicationServer,如果有需求可以启动可选服务 
LoggerServer
 
-* MasterServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.server.master.MasterServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false`
-* WorkerServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.server.worker.WorkerServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false`
-* ApiApplicationServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.api.ApiApplicationServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api`。启动完成可以浏览 Open API 文档,地址为 
http://localhost:12345/dolphinscheduler/doc.html
+* MasterServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.server.master.MasterServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
+* WorkerServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.server.worker.WorkerServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
+* ApiApplicationServer:在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.api.ApiApplicationServer` 中的 `main` 方法,并配置 *VM 
Options* `-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api,mysql`。启动完成可以浏览 Open API 文档,地址为 
http://localhost:12345/dolphinscheduler/doc.html
 * LoggerServer:**这是非必须功能,可以不开启**,在 Intellij IDEA 中执行 
`org.apache.dolphinscheduler.server.log.LoggerServer` 中的 `main` 方法
 
+> VM Options `-Dspring.profiles.active=mysql` 中 `mysql` 表示指定的配置文件
+
 ### 启动前端
 
 安装前端依赖并运行前端组件

Reply via email to