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 0acf190  Automated deployment: c8959fc6030354dba90c522f8dc6154fe03cc024
0acf190 is described below

commit 0acf1901eec84098debd71e4e41e080d70356ea3
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jan 19 02:21:58 2022 +0000

    Automated deployment: c8959fc6030354dba90c522f8dc6154fe03cc024
---
 en-us/blog/DS_run_in_windows.html | 153 ++++++++++++++++++++++++++++++++++++++
 en-us/blog/DS_run_in_windows.json |   6 ++
 zh-cn/blog/DS_run_in_windows.html |  22 +++---
 zh-cn/blog/DS_run_in_windows.json |   2 +-
 4 files changed, 171 insertions(+), 12 deletions(-)

diff --git a/en-us/blog/DS_run_in_windows.html 
b/en-us/blog/DS_run_in_windows.html
new file mode 100644
index 0000000..981b16e
--- /dev/null
+++ b/en-us/blog/DS_run_in_windows.html
@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, 
maximum-scale=1.0, user-scalable=no">
+  <meta name="keywords" content="DS_run_in_windows">
+  <meta name="description" content="DS_run_in_windows">
+  <title>DS_run_in_windows</title>
+  <link rel="shortcut icon" href="/img/favicon.ico">
+  <link rel="stylesheet" href="/build/vendor.23870e5.css">
+  <link rel="stylesheet" href="/build/blog.md.055b3f1.css">
+</head>
+<body>
+  <div id="root"><div class="blog-detail-page" data-reactroot=""><header 
class="header-container header-container-dark"><div class="header-body"><span 
class="mobile-menu-btn mobile-menu-btn-dark"></span><a 
href="/en-us/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">中</span><div 
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant-m 
[...]
+<ol>
+<li>
+<h2>Download Source Code</h2>
+<p>Official Website: <a 
href="https://dolphinscheduler.apache.org/en-us/index.html";>https://dolphinscheduler.apache.org/en-us/index.html</a></p>
+<p>GitHub Repository: <a 
href="https://github.com/apache/dolphinscheduler.git";>https://github.com/apache/dolphinscheduler.git</a></p>
+<p>Here we use 1.3.6-release tag.</p>
+</li>
+<li>
+<h2>Install Zookeeper on Windows</h2>
+<ol>
+<li>
+<p>Download 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>Unzip 'apache-zookeeper-3.6.3-bin.tar.gz'.</p>
+</li>
+<li>
+<p>Create 'data' and 'log' folder under zookeeper directory.</p>
+</li>
+<li>
+<p>Copy the 'zoo_sample.cfg' file in the 'conf' directory, rename it to 
'zoo.cfg' and modify the data and log directory settings:</p>
+<pre><code class="language-properties"><span 
class="hljs-attr">dataDir</span>=<span 
class="hljs-string">I:\\setup\\apache-zookeeper-3.6.3-bin\\data</span>
+<span class="hljs-attr">dataLogDir</span>=<span 
class="hljs-string">I:\\setup\\apache-zookeeper-3.6.3-bin\\log</span>
+</code></pre>
+</li>
+<li>
+<p>Run the 'zkServer.cmd' in the bin directory, then run 'zkCli.cmd' to check 
the running status. Check zookeeper node information under root directory which 
shows success installation.</p>
+</li>
+</ol>
+</li>
+<li>
+<h2>Set-up Backend Environment</h2>
+<ol>
+<li>
+<p>Create MYSQL database for debugging, named as 'dolphinschedulerKou'.</p>
+</li>
+<li>
+<p>Import Maven project to IDEA, find 'pom.xml' under the root directory and 
modify the scope of 'mysql-connector-java' to compile.</p>
+</li>
+<li>
+<p>Modify the 'datasource.properties' of module 'dolphinscheduler-dao'.</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/dolphinschedulerTest?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">rootroot</span>
+</code></pre>
+</li>
+<li>
+<p>Refresh dao module and run the main method of 
'org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler', the 
method will create project needed tables and data automatically.</p>
+</li>
+<li>
+<p>Modify the 'zookeeper.properties' of module 'dolphinscheduler-service'.</p>
+<pre><code class="language-properties"><span 
class="hljs-meta">zookeeper.quorum</span>=<span 
class="hljs-string">localhost:2181</span>
+</code></pre>
+</li>
+<li>
+<p>Add standard output in the '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 Standard Output --&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;APILOGFILE&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;SKYWALKING-LOG&quot;</span>/&gt;</span>
+<span class="hljs-tag">&lt;/<span class="hljs-name">root</span>&gt;</span>
+</code></pre>
+</li>
+</ol>
+</li>
+<li>
+<p>Start the MasterServer by execute the main method of 
'org.apache.dolphinscheduler.server.master.MasterServer' and VM Options need to 
be set are:</p>
+<pre><code>-Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false
+</code></pre>
+</li>
+<li>
+<p>Start the WorkerServer by execute the main method of 
'org.apache.dolphinscheduler.server.worker.WorkerServer' and VM Options need to 
be set are:</p>
+<pre><code>-Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false
+</code></pre>
+</li>
+<li>
+<p>Start the ApiApplicationServer by execute the main method of 
'org.apache.dolphinscheduler.api.ApiApplicationServer' and VM Options need to 
be set are:</p>
+<pre><code>-Dlogging.config=classpath:logback-api.xml 
-Dspring.profiles.active=api
+</code></pre>
+</li>
+<li>
+<p>If you need to use the log function, execute the main method of 
'org.apache.dolphinscheduler.server.log.LoggerServer'.</p>
+</li>
+<li>
+<p>Backend swagger url: <a 
href="http://localhost:12345/dolphinscheduler/doc.html?language=en_us&amp;lang=en";>http://localhost:12345/dolphinscheduler/doc.html?language=en_us&amp;lang=en</a>.</p>
+</li>
+<li>
+<h2>Set-up Frontend Environment</h2>
+<ol>
+<li>
+<p>Install node (no more details).</p>
+</li>
+<li>
+<p>Enter the folder 'dolphinscheduler-ui' and run.</p>
+<pre><code class="language-shell">npm install
+npm run start
+</code></pre>
+</li>
+<li>
+<p>Visit <a href="http://localhost:8888/";>http://localhost:8888</a>.</p>
+</li>
+<li>
+<p>Sign in with admin account.</p>
+<blockquote>
+<p>Username: admin</p>
+<p>Password: dolphinscheduler123</p>
+</blockquote>
+</li>
+</ol>
+</li>
+</ol>
+</section><footer class="footer-container"><div 
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please 
contact us through the following ways.</h4></div><div 
class="contact-container"><ul><li><a 
href="/en-us/community/development/subscribe.html"><img class="img-base" 
src="/img/emailgray.png"/><img class="img-change" 
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a 
href="https://twitter.com/dolphinschedule";><img class="img-base" 
src="/img/twittergray.png"/><im [...]
+  <script 
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
+  <script 
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
+  <script>window.rootPath = '';</script>
+  <script src="/build/vendor.41c1265.js"></script>
+  <script src="/build/blog.md.f25cabd.js"></script>
+  <script>
+    var _hmt = _hmt || [];
+    (function() {
+      var hm = document.createElement("script");
+      hm.src = "https://hm.baidu.com/hm.js?4e7b4b400dd31fa015018a435c64d06f";;
+      var s = document.getElementsByTagName("script")[0];
+      s.parentNode.insertBefore(hm, s);
+    })();
+  </script>
+  <!-- Global site tag (gtag.js) - Google Analytics -->
+  <script async 
src="https://www.googletagmanager.com/gtag/js?id=G-899J8PYKJZ";></script>
+  <script>
+    window.dataLayer = window.dataLayer || [];
+    function gtag(){dataLayer.push(arguments);}
+    gtag('js', new Date());
+
+    gtag('config', 'G-899J8PYKJZ');
+  </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/en-us/blog/DS_run_in_windows.json 
b/en-us/blog/DS_run_in_windows.json
new file mode 100644
index 0000000..b252c0c
--- /dev/null
+++ b/en-us/blog/DS_run_in_windows.json
@@ -0,0 +1,6 @@
+{
+  "filename": "DS_run_in_windows.md",
+  "__html": "<h1>Set-up DolphinScheduler Development Environment and Run 
Source Code on Windows OS</h1>\n<ol>\n<li>\n<h2>Download Source 
Code</h2>\n<p>Official Website: <a 
href=\"https://dolphinscheduler.apache.org/en-us/index.html\";>https://dolphinscheduler.apache.org/en-us/index.html</a></p>\n<p>GitHub
 Repository: <a 
href=\"https://github.com/apache/dolphinscheduler.git\";>https://github.com/apache/dolphinscheduler.git</a></p>\n<p>Here
 we use 1.3.6-release tag.</p>\n</li>\n<li>\n<h2>Ins [...]
+  "link": "/dist/en-us/blog/DS_run_in_windows.html",
+  "meta": {}
+}
\ No newline at end of file
diff --git a/zh-cn/blog/DS_run_in_windows.html 
b/zh-cn/blog/DS_run_in_windows.html
index 8ab8ed4..7924106 100644
--- a/zh-cn/blog/DS_run_in_windows.html
+++ b/zh-cn/blog/DS_run_in_windows.html
@@ -35,8 +35,8 @@
 </li>
 <li>
 <p>将conf目录下的zoo_sample.cfg文件,复制一份,重命名为zoo.cfg,修改其中数据和日志的配置,如:</p>
-<pre><code 
class="language-shell">dataDir=D:\\code\\apache-zookeeper-3.6.3-bin\\data
-dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\log
+<pre><code class="language-properties"><span 
class="hljs-attr">dataDir</span>=<span 
class="hljs-string">D:\\code\\apache-zookeeper-3.6.3-bin\\data</span>
+<span class="hljs-attr">dataLogDir</span>=<span 
class="hljs-string">D:\\code\\apache-zookeeper-3.6.3-bin\\log</span>
 </code></pre>
 </li>
 <li>
@@ -55,11 +55,11 @@ dataLogDir=D:\\code\\apache-zookeeper-3.6.3-bin\\log
 </li>
 <li>
 <p>修改 dolphinscheduler-dao 模块的 datasource.properties</p>
-<pre><code class="language-java"># mysql
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
-spring.datasource.url=jdbc:mysql://192.168.2.227:3306/dolphinschedulerKou?useUnicode=true&amp;characterEncoding=UTF-8
-spring.datasource.username=root
-spring.datasource.password=Dm!23456
+<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://192.168.2.227:3306/dolphinschedulerKou?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">Dm!23456</span>
 </code></pre>
 </li>
 <li>
@@ -67,7 +67,7 @@ spring.datasource.password=Dm!23456
 </li>
 <li>
 <p>修改 dolphinscheduler-service 模块的 zookeeper.properties</p>
-<pre><code class="language-java">zookeeper.quorum=localhost:<span 
class="hljs-number">2181</span>
+<pre><code class="language-properties"><span 
class="hljs-meta">zookeeper.quorum</span>=<span 
class="hljs-string">localhost:2181</span>
 </code></pre>
 </li>
 <li>
@@ -81,17 +81,17 @@ spring.datasource.password=Dm!23456
 </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>
diff --git a/zh-cn/blog/DS_run_in_windows.json 
b/zh-cn/blog/DS_run_in_windows.json
index 46d8929..c3b4d84 100644
--- a/zh-cn/blog/DS_run_in_windows.json
+++ b/zh-cn/blog/DS_run_in_windows.json
@@ -1,6 +1,6 @@
 {
   "filename": "DS_run_in_windows.md",
-  "__html": "<h1>DolphinScheduler 在 Windows 
本地搭建开发环境,源码启动</h1>\n<p>如果您对本地开发的视频教程感兴趣的话,也可以跟着视频来一步一步操作:\n<a 
href=\"https://www.bilibili.com/video/BV1hf4y1b7sX\";><img 
src=\"/img/build_dev_video.png\" alt=\" DolphinScheduler 本地开发搭建 
\"></a></p>\n<ol>\n<li>\n<h2>下载源码</h2>\n<p>官网 :<a 
href=\"https://dolphinscheduler.apache.org/zh-cn/index.html\";>https://dolphinscheduler.apache.org/zh-cn/index.html</a></p>\n<p>地址
 :<a 
href=\"https://github.com/apache/dolphinscheduler.git\";>https://github.com/apach
 [...]
+  "__html": "<h1>DolphinScheduler 在 Windows 
本地搭建开发环境,源码启动</h1>\n<p>如果您对本地开发的视频教程感兴趣的话,也可以跟着视频来一步一步操作:\n<a 
href=\"https://www.bilibili.com/video/BV1hf4y1b7sX\";><img 
src=\"/img/build_dev_video.png\" alt=\" DolphinScheduler 本地开发搭建 
\"></a></p>\n<ol>\n<li>\n<h2>下载源码</h2>\n<p>官网 :<a 
href=\"https://dolphinscheduler.apache.org/zh-cn/index.html\";>https://dolphinscheduler.apache.org/zh-cn/index.html</a></p>\n<p>地址
 :<a 
href=\"https://github.com/apache/dolphinscheduler.git\";>https://github.com/apach
 [...]
   "link": "/dist/zh-cn/blog/DS_run_in_windows.html",
   "meta": {}
 }
\ No newline at end of file

Reply via email to