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 fe61013  Automated deployment: 54f9ca7b3402f0b731aa6562f048ab5a49602b01
fe61013 is described below

commit fe61013820b39533b3d7f73ddfd83d008c87502e
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Oct 2 03:59:46 2021 +0000

    Automated deployment: 54f9ca7b3402f0b731aa6562f048ab5a49602b01
---
 en-us/docs/dev/user_doc/dev_run.html |  7 +++++--
 en-us/docs/dev/user_doc/dev_run.json |  2 +-
 zh-cn/docs/dev/user_doc/dev_run.html | 40 ++++++++++++++++++------------------
 zh-cn/docs/dev/user_doc/dev_run.json |  2 +-
 4 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/en-us/docs/dev/user_doc/dev_run.html 
b/en-us/docs/dev/user_doc/dev_run.html
index fdc967a..026386e 100644
--- a/en-us/docs/dev/user_doc/dev_run.html
+++ b/en-us/docs/dev/user_doc/dev_run.html
@@ -41,14 +41,17 @@ dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\zkLog
 <span class="hljs-meta">spring.datasource.username</span>=<span 
class="hljs-string">root</span>
 <span class="hljs-meta">spring.datasource.password</span>=<span 
class="hljs-string">123456</span>
 </code></pre>
-<p>v. Refresh the dao module and run the main method of 
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler to 
automatically insert the tables and data which are required by the project.</p>
-<p>vi. Modify the registry.properties of the dolphinscheduler-service 
module:</p>
+<p>v. Refresh the dao module and run the main method of 
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler to 
automatically insert the tables and data which are required by the project.If 
you encounter problems such as non-existent database fields, you can try to 
solve them by running the sql file of the corresponding database under 
<code>dolphinscheduler\sql</code>.</p>
+<p>vi. Modify registry.properties for dolphinscheduler-service module and 
worker.properties for dolphinscheduler-server module respectively, note: 
<code>1.3.6-SNAPSHOT</code> here is based on the actual generated file</p>
 <pre><code class="language-properties"><span 
class="hljs-comment">#registry.plugin.dir config the Registry Plugin dir.</span>
 <span class="hljs-meta">registry.plugin.dir</span>=<span 
class="hljs-string">./dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry/zookeeper</span>
 
 <span class="hljs-meta">registry.plugin.name</span>=<span 
class="hljs-string">zookeeper</span>
 <span class="hljs-meta">registry.servers</span>=<span 
class="hljs-string">127.0.0.1:2181</span>
 </code></pre>
+<pre><code class="language-properties"><span 
class="hljs-comment">#task.plugin.dir config the #task.plugin.dir config the 
Task Plugin dir . WorkerServer while find and load the Task Plugin Jar from 
this dir when deploy and start WorkerServer on the server .</span>
+<span class="hljs-meta">task.plugin.dir</span>=<span 
class="hljs-string">./dolphinscheduler-task-plugin/dolphinscheduler-task-shell/target/dolphinscheduler-task-shell-1.3.6-SNAPSHOT</span>
+</code></pre>
 <p>vii. Add the console output to logback-worker.xml, logback-master.xml, and 
logback-api.xml.</p>
 <pre><code class="language-xml"><span class="hljs-tag">&lt;<span 
class="hljs-name">root</span> <span class="hljs-attr">level</span>=<span 
class="hljs-string">&quot;INFO&quot;</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">appender-ref</span> 
<span class="hljs-attr">ref</span>=<span 
class="hljs-string">&quot;STDOUT&quot;</span>/&gt;</span>  <span 
class="hljs-comment">&lt;!-- Add the console output --&gt;</span>
diff --git a/en-us/docs/dev/user_doc/dev_run.json 
b/en-us/docs/dev/user_doc/dev_run.json
index 236d598..c6598d0 100644
--- a/en-us/docs/dev/user_doc/dev_run.json
+++ b/en-us/docs/dev/user_doc/dev_run.json
@@ -1,6 +1,6 @@
 {
   "filename": "dev_run.md",
-  "__html": "<h2>Development Environment 
Setup</h2>\n<blockquote>\n<p>Reference: <a 
href=\"https://dolphinscheduler.apache.org/zh-cn/blog/DS_run_in_windows.html\";>DolphinScheduler
 builds the development environment on Windows 
local.</a></p>\n</blockquote>\n<h4>1. Download the source code</h4>\n<p>GitHub 
:<a 
href=\"https://github.com/apache/dolphinscheduler\";>https://github.com/apache/dolphinscheduler</a></p>\n<pre><code
 class=\"language-shell\">mkdir dolphinscheduler\ncd dolphinscheduler [...]
+  "__html": "<h2>Development Environment 
Setup</h2>\n<blockquote>\n<p>Reference: <a 
href=\"https://dolphinscheduler.apache.org/zh-cn/blog/DS_run_in_windows.html\";>DolphinScheduler
 builds the development environment on Windows 
local.</a></p>\n</blockquote>\n<h4>1. Download the source code</h4>\n<p>GitHub 
:<a 
href=\"https://github.com/apache/dolphinscheduler\";>https://github.com/apache/dolphinscheduler</a></p>\n<pre><code
 class=\"language-shell\">mkdir dolphinscheduler\ncd dolphinscheduler [...]
   "link": "/dist/en-us/docs/dev/user_doc/dev_run.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/dev_run.html 
b/zh-cn/docs/dev/user_doc/dev_run.html
index b209d6a..e79684b 100644
--- a/zh-cn/docs/dev/user_doc/dev_run.html
+++ b/zh-cn/docs/dev/user_doc/dev_run.html
@@ -11,9 +11,6 @@
 </head>
 <body>
   <div id="root"><div class="md2html docs-page" data-reactroot=""><header 
class="header-container header-container-dark"><div class="header-body"><a 
href="/zh-cn/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div 
class="search search-dark"><span class="icon-search"></span></div><span 
class="language-switch language-switch-dark">En</span><div 
class="header-menu"><img class="header-menu-toggle" 
src="/img/system/menu_white.png"/><div><ul class="ant-menu whiteClass 
ant-menu-l [...]
-<blockquote>
-<p>参考:<a 
href="https://dolphinscheduler.apache.org/zh-cn/blog/DS_run_in_windows.html";>DolphinScheduler
 在 Windows 本地搭建开发环境,源码启动</a></p>
-</blockquote>
 <ol>
 <li>
 <p><strong>下载源码</strong></p>
@@ -25,25 +22,25 @@ git clone [email protected]:apache/dolphinscheduler.git
 <p>这里选用 dev 分支。</p>
 </li>
 <li>
-<p><strong>Windows 安装 zookeeper</strong></p>
+<p>** 安装 ZooKeeper**</p>
 <ol>
 <li>
-<p>下载 zk <a 
href="https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz";>https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz</a></p>
+<p>下载 ZooKeeper <a 
href="https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz";>https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz</a></p>
 </li>
 <li>
 <p>解压 apache-zookeeper-3.6.3-bin.tar.gz</p>
 </li>
 <li>
-<p>在 zk 的目录下新建 zkData、zkLog文件夹</p>
+<p>在 ZooKeeper 的目录下新建 zkData、zkLog文件夹</p>
 </li>
 <li>
 <p>将 conf 目录下的 zoo_sample.cfg 文件,复制一份,重命名为 zoo.cfg,修改其中数据和日志的配置,如:</p>
-<pre><code 
class="language-shell">dataDir=D:\\code\\apache-zookeeper-3.6.3-bin\\zkData ## 
此处使用绝对路径
-dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\zkLog
+<pre><code class="language-shell">dataDir=/data/zookeeper/data ## 此处使用绝对路径
+dataLogDir=/data/zookeeper/datalog
 </code></pre>
 </li>
 <li>
-<p>在 bin 中运行 zkServer.cmd,然后运行 zkCli.cmd 查看 zk 运行状态,可以查看 zk 节点信息即代表安装成功。</p>
+<p>在 bin 中运行 <a href="http://zkServer.sh";>zkServer.sh</a>,然后运行 <a 
href="http://zkCli.sh";>zkCli.sh</a> 查看 ZooKeeper 运行状态,可以查看 ZooKeeper 
节点信息即代表安装成功。</p>
 </li>
 </ol>
 </li>
@@ -51,34 +48,37 @@ dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\zkLog
 <p><strong>搭建后端环境</strong></p>
 <ol>
 <li>
-<p>在本地新建一个数据库用于调试,DolphinScheduler 支持 mysql 和 postgresql,这里使用 mysql 进行配置,库名可为 
:dolphinscheduler;</p>
+<p>在本地新建一个数据库用于调试,DolphinScheduler 支持 MySQL 和 PostgreSQL,这里使用 MySQL 进行配置,库名可为 
:dolphinscheduler;</p>
 </li>
 <li>
 <p>把代码导入 IDEA,修改根项目中 pom.xml,将 mysql-connector-java 依赖的 scope 修改为 compile;</p>
 </li>
 <li>
-<p>在 terminal 中执行 <code>mvn -U install package -Prelease 
-Dmaven.test.skip=true</code>,安装所需要的注册插件;</p>
+<p>在 terminal 中执行 <code>mvn -U clean install package -Prelease 
-Dmaven.test.skip=true</code>,安装所需要的注册插件;</p>
 </li>
 <li>
 <p>修改 dolphinscheduler-dao 模块的 datasource.properties;</p>
 <pre><code class="language-properties"><span class="hljs-comment"># 
mysql</span>
 <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span 
class="hljs-string">com.mysql.jdbc.Driver</span>
-<span class="hljs-meta">spring.datasource.url</span>=<span 
class="hljs-string">jdbc:mysql://localhost:3306/dolphinscheduler?useUnicode=true&amp;characterEncoding=UTF-8</span>
-<span class="hljs-meta">spring.datasource.username</span>=<span 
class="hljs-string">root</span>
-<span class="hljs-meta">spring.datasource.password</span>=<span 
class="hljs-string">123456</span>
+<span class="hljs-meta">spring.datasource.url</span>=<span 
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true
     # 替换您的数据库 ip 地址</span>
+<span class="hljs-meta">spring.datasource.username</span>=<span 
class="hljs-string">xxx                                                # 
替换您的数据库用户名</span>
+<span class="hljs-meta">spring.datasource.password</span>=<span 
class="hljs-string">xxx                                                # 
替换您的数据库密码</span>
 </code></pre>
 </li>
 <li>
-<p>刷新 dao 模块,运行 
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler 的 main 
方法,自动插入项目所需的表和数据;</p>
+<p>刷入项目所需的表和数据;dev 分支数据库字段变化比较频繁,在数据库里直接运行项目根目录下 
<code>dolphinscheduler\sql</code> 文件夹下对应数据库的 sql 文件 ,MySQL 下直接运行 
<code>dolphinscheduler_mysql.sql</code></p>
 </li>
 <li>
-<p>修改 dolphinscheduler-service 模块的 registry.properties;</p>
+<p>分别修改 dolphinscheduler-service 模块的 registry.properties 和 
dolphinscheduler-server 模块的 worker.properties,注意:这里的 
<code>1.3.6-SNAPSHOT</code> 需要根据实际生成的文件进行填写</p>
 <pre><code class="language-properties"><span 
class="hljs-comment">#registry.plugin.dir config the Registry Plugin dir.</span>
 <span class="hljs-meta">registry.plugin.dir</span>=<span 
class="hljs-string">./dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry/zookeeper</span>
 
 <span class="hljs-meta">registry.plugin.name</span>=<span 
class="hljs-string">zookeeper</span>
 <span class="hljs-meta">registry.servers</span>=<span 
class="hljs-string">127.0.0.1:2181</span>
 </code></pre>
+<pre><code class="language-properties"><span 
class="hljs-comment">#task.plugin.dir config the #task.plugin.dir config the 
Task Plugin dir . WorkerServer while find and load the Task Plugin Jar from 
this dir when deploy and start WorkerServer on the server .</span>
+<span class="hljs-meta">task.plugin.dir</span>=<span 
class="hljs-string">./dolphinscheduler-task-plugin/dolphinscheduler-task-shell/target/dolphinscheduler-task-shell-1.3.6-SNAPSHOT</span>
+</code></pre>
 </li>
 <li>
 <p>在 logback-worker.xml、logback-master.xml、logback-api.xml 中添加控制台输出;</p>
@@ -91,24 +91,24 @@ dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\zkLog
 </li>
 <li>
 <p>启动 MasterServer,执行 org.apache.dolphinscheduler.server.master.MasterServer 的 
main 方法,需要设置 VM Options:</p>
-<pre><code class="language-java">-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=<span class="hljs-keyword">false</span>
+<pre><code>-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false
 </code></pre>
 </li>
 <li>
 <p>启动 WorkerServer,执行org.apache.dolphinscheduler.server.worker.WorkerServer的 
main方法,需要设置 VM Options:</p>
-<pre><code class="language-java">-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=<span class="hljs-keyword">false</span>
+<pre><code>-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false
 </code></pre>
 </li>
 <li>
 <p>启动 ApiApplicationServer,执行 
org.apache.dolphinscheduler.api.ApiApplicationServer 的 main 方法,需要设置 VM 
Options:</p>
-<pre><code class="language-java">-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api
+<pre><code>-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api
 </code></pre>
 </li>
 <li>
 <p>如果需要用到日志功能,执行 org.apache.dolphinscheduler.server.log.LoggerServer 的 main 
方法。</p>
 </li>
 <li>
-<p>后端 swagger 地址 :<a 
href="http://localhost:12345/dolphinscheduler/doc.html?language=zh_CN&amp;lang=cn";>http://localhost:12345/dolphinscheduler/doc.html?language=zh_CN&amp;lang=cn</a></p>
+<p>后端 Open API 文档地址 :<a 
href="http://localhost:12345/dolphinscheduler/doc.html?language=zh_CN&amp;lang=cn";>http://localhost:12345/dolphinscheduler/doc.html?language=zh_CN&amp;lang=cn</a></p>
 </li>
 </ol>
 </li>
diff --git a/zh-cn/docs/dev/user_doc/dev_run.json 
b/zh-cn/docs/dev/user_doc/dev_run.json
index bce618b..5bd6df9 100644
--- a/zh-cn/docs/dev/user_doc/dev_run.json
+++ b/zh-cn/docs/dev/user_doc/dev_run.json
@@ -1,6 +1,6 @@
 {
   "filename": "dev_run.md",
-  "__html": "<h4>搭建 dev 分支开发环境</h4>\n<blockquote>\n<p>参考:<a 
href=\"https://dolphinscheduler.apache.org/zh-cn/blog/DS_run_in_windows.html\";>DolphinScheduler
 在 Windows 
本地搭建开发环境,源码启动</a></p>\n</blockquote>\n<ol>\n<li>\n<p><strong>下载源码</strong></p>\n<p>GitHub
 :<a 
href=\"https://github.com/apache/dolphinscheduler\";>https://github.com/apache/dolphinscheduler</a></p>\n<pre><code
 class=\"language-shell\">mkdir dolphinscheduler\ncd dolphinscheduler\ngit 
clone [email protected]:apache/dolphinschedule [...]
+  "__html": "<h4>搭建 dev 
分支开发环境</h4>\n<ol>\n<li>\n<p><strong>下载源码</strong></p>\n<p>GitHub :<a 
href=\"https://github.com/apache/dolphinscheduler\";>https://github.com/apache/dolphinscheduler</a></p>\n<pre><code
 class=\"language-shell\">mkdir dolphinscheduler\ncd dolphinscheduler\ngit 
clone [email protected]:apache/dolphinscheduler.git\n</code></pre>\n<p>这里选用 dev 
分支。</p>\n</li>\n<li>\n<p>** 安装 ZooKeeper**</p>\n<ol>\n<li>\n<p>下载 ZooKeeper <a 
href=\"https://www.apache.org/dyn/closer.lua/zookeeper [...]
   "link": "/dist/zh-cn/docs/dev/user_doc/dev_run.html",
   "meta": {}
 }
\ No newline at end of file

Reply via email to