You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by gi...@apache.org on 2021/12/24 01:50:33 UTC

[dolphinscheduler-website] branch asf-site updated: Automated deployment: 390012e7cec79f6f46fa75d6bdf8873282c2a9ef

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 1664047  Automated deployment: 390012e7cec79f6f46fa75d6bdf8873282c2a9ef
1664047 is described below

commit 1664047ae905a07f72286a9970f5b56489e8a299
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Fri Dec 24 01:50:29 2021 +0000

    Automated deployment: 390012e7cec79f6f46fa75d6bdf8873282c2a9ef
---
 en-us/development/development-environment-setup.html | 9 ++++++---
 en-us/development/development-environment-setup.json | 2 +-
 zh-cn/development/development-environment-setup.html | 9 ++++++---
 zh-cn/development/development-environment-setup.json | 2 +-
 4 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/en-us/development/development-environment-setup.html b/en-us/development/development-environment-setup.html
index 362d831..32b4c0b 100644
--- a/en-us/development/development-environment-setup.html
+++ b/en-us/development/development-environment-setup.html
@@ -128,11 +128,14 @@ dolphinscheduler-service/src/main/resources/registry.properties</p>
 <h5>Server start</h5>
 <p>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.</p>
 <ul>
-<li>MasterServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.server.master.MasterServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false</code></li>
-<li>WorkerServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.server.worker.WorkerServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-worker.xml -Ddruid.mysql.usePingMethod=false</code></li>
-<li>ApiApplicationServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.api.ApiApplicationServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api</code>. After it started, you could find Open API documentation in <a href="http://localhost:12345/dolphinscheduler/doc.html">http://localhost:12345/dolphinscheduler/doc.html</a></li>
+<li>MasterServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.server.master.MasterServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql</code></li>
+<li>WorkerServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.server.worker.WorkerServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-worker.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql</code></li>
+<li>ApiApplicationServer:Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.api.ApiApplicationServer</code> by Intellij IDEA, with the configuration <em>VM Options</em> <code>-Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api,mysql</code>. After it started, you could find Open API documentation in <a href="http://localhost:12345/dolphinscheduler/doc.html">http://localhost:12345/dolphinscheduler/doc.html</a></li>
 <li>LoggerServer:<strong>Optional server, only start if you need</strong>,Execute function <code>main</code> in the class <code>org.apache.dolphinscheduler.server.log.LoggerServer</code> by Intellij IDEA</li>
 </ul>
+<blockquote>
+<p>The <code>mysql</code> in the VM Options <code>-Dspring.profiles.active=mysql</code> means specified configuration file</p>
+</blockquote>
 <h3>Start Frontend Server</h3>
 <p>Install frontend dependencies and run it</p>
 <pre><code class="language-shell">cd dolphinscheduler-ui
diff --git a/en-us/development/development-environment-setup.json b/en-us/development/development-environment-setup.json
index bce45c7..1856629 100644
--- a/en-us/development/development-environment-setup.json
+++ b/en-us/development/development-environment-setup.json
@@ -1,6 +1,6 @@
 {
   "filename": "development-environment-setup.md",
-  "__html": "<h1>DolphinScheduler development</h1>\n<h2>Software Requests</h2>\n<p>Before setting up the DolphinScheduler development environment, please make sure you have installed the software as below:</p>\n<ul>\n<li><a href=\"https://git-scm.com/downloads\">Git</a>: DolphinScheduler version control system</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a>: DolphinScheduler backend language</li>\n<li><a href=\"http://maven.apache.org/dow [...]
+  "__html": "<h1>DolphinScheduler development</h1>\n<h2>Software Requests</h2>\n<p>Before setting up the DolphinScheduler development environment, please make sure you have installed the software as below:</p>\n<ul>\n<li><a href=\"https://git-scm.com/downloads\">Git</a>: DolphinScheduler version control system</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a>: DolphinScheduler backend language</li>\n<li><a href=\"http://maven.apache.org/dow [...]
   "link": "/dist/en-us/development/development-environment-setup.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/development/development-environment-setup.html b/zh-cn/development/development-environment-setup.html
index b38fb50..9455365 100644
--- a/zh-cn/development/development-environment-setup.html
+++ b/zh-cn/development/development-environment-setup.html
@@ -121,11 +121,14 @@ dolphinscheduler-service/src/main/resources/registry.properties</li>
 <h5>启动服务</h5>
 <p>我们需要启动三个必须服务,包括 MasterServer,WorkerServer,ApiApplicationServer,如果有需求可以启动可选服务 LoggerServer</p>
 <ul>
-<li>MasterServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.server.master.MasterServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false</code></li>
-<li>WorkerServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.server.worker.WorkerServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-worker.xml -Ddruid.mysql.usePingMethod=false</code></li>
-<li>ApiApplicationServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.api.ApiApplicationServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api</code>。启动完成可以浏览 Open API 文档,地址为 <a href="http://localhost:12345/dolphinscheduler/doc.html">http://localhost:12345/dolphinscheduler/doc.html</a></li>
+<li>MasterServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.server.master.MasterServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql</code></li>
+<li>WorkerServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.server.worker.WorkerServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-worker.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql</code></li>
+<li>ApiApplicationServer:在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.api.ApiApplicationServer</code> 中的 <code>main</code> 方法,并配置 <em>VM Options</em> <code>-Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api,mysql</code>。启动完成可以浏览 Open API 文档,地址为 <a href="http://localhost:12345/dolphinscheduler/doc.html">http://localhost:12345/dolphinscheduler/doc.html</a></li>
 <li>LoggerServer:<strong>这是非必须功能,可以不开启</strong>,在 Intellij IDEA 中执行 <code>org.apache.dolphinscheduler.server.log.LoggerServer</code> 中的 <code>main</code> 方法</li>
 </ul>
+<blockquote>
+<p>VM Options <code>-Dspring.profiles.active=mysql</code> 中 <code>mysql</code> 表示指定的配置文件</p>
+</blockquote>
 <h3>启动前端</h3>
 <p>安装前端依赖并运行前端组件</p>
 <pre><code class="language-shell">cd dolphinscheduler-ui
diff --git a/zh-cn/development/development-environment-setup.json b/zh-cn/development/development-environment-setup.json
index a5088be..fdc549f 100644
--- a/zh-cn/development/development-environment-setup.json
+++ b/zh-cn/development/development-environment-setup.json
@@ -1,6 +1,6 @@
 {
   "filename": "development-environment-setup.md",
-  "__html": "<h1>DolphinScheduler 开发手册</h1>\n<h2>前置条件</h2>\n<p>在搭建 DolphinScheduler 开发环境之前请确保你已经安装一下软件</p>\n<ul>\n<li><a href=\"https://git-scm.com/downloads\">Git</a>: 版本控制系统</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a>: 后端开发</li>\n<li><a href=\"http://maven.apache.org/download.cgi\">Maven</a>: Java包管理系统</li>\n<li><a href=\"https://nodejs.org/en/download\">Node</a>: 前端开发</li>\n</ul>\n<h3>克隆代码库</h3>\n<p>通过你 git 管理工具下载 git 代码,下面以 git-co [...]
+  "__html": "<h1>DolphinScheduler 开发手册</h1>\n<h2>前置条件</h2>\n<p>在搭建 DolphinScheduler 开发环境之前请确保你已经安装一下软件</p>\n<ul>\n<li><a href=\"https://git-scm.com/downloads\">Git</a>: 版本控制系统</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a>: 后端开发</li>\n<li><a href=\"http://maven.apache.org/download.cgi\">Maven</a>: Java包管理系统</li>\n<li><a href=\"https://nodejs.org/en/download\">Node</a>: 前端开发</li>\n</ul>\n<h3>克隆代码库</h3>\n<p>通过你 git 管理工具下载 git 代码,下面以 git-co [...]
   "link": "/dist/zh-cn/development/development-environment-setup.html",
   "meta": {}
 }
\ No newline at end of file