QuakeWang commented on a change in pull request #437:
URL: 
https://github.com/apache/dolphinscheduler-website/pull/437#discussion_r710726514



##########
File path: blog/en-us/DS_run_in_windows.md
##########
@@ -0,0 +1,102 @@
+# Set-up DolphinScheduler Development Environment and Run Source Code on 
Windows OS
+
+1. ## Download Source Code
+
+   Official Website:https://dolphinscheduler.apache.org/en-us/index.html
+
+   GitHub Repository:https://github.com/apache/dolphinscheduler.git
+
+   Here we use 1.3.8-release tag.
+
+2. ## Install Zookeeper on Windows
+
+   1. Download zookeeper 
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz
+
+   2. Unzip 'apache-zookeeper-3.6.3-bin.tar.gz'
+
+   3. Create 'data' and 'log' folder under zookeeper directory
+
+   4. Copy the 'zoo_sample.cfg' file in the 'conf' directory, rename it to 
'zoo.cfg' and modify the data and log directory settings:
+
+      ```shell
+      dataDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\data
+      dataLogDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\log
+      ```
+
+   5. 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.
+
+3. ## Set-up Backend Environment
+
+   1. Create MYSQL database for debugging, named as 'dolphinschedulerTest'
+
+   2. Import Maven project to IDEA, find 'pom.xml' under the root directory 
and modify the scope of 'mysql-connector-java' to compile
+
+   3. Modify the 'datasource.properties' of module 'dolphinscheduler-dao'
+
+      ~~~java
+      # mysql
+      spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+      
spring.datasource.url=jdbc:mysql://localhost:3306/dolphinschedulerTest?useUnicode=true&characterEncoding=UTF-8
+      spring.datasource.username=root
+      spring.datasource.password=rootroot
+      ~~~
+
+   4. 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.
+
+   5. Modify the 'zookeeper.properties' of module 'dolphinscheduler-service'
+
+      ~~~java
+      zookeeper.quorum=localhost:2181
+      ~~~
+
+   6. Add standard output in the 'logback-worker.xml', 'logback-master.xml' 
and 'logback-api.xml'
+
+      ~~~xml
+      <root level="INFO">
+          <appender-ref ref="STDOUT"/>  <!-- 添加控制台输出 -->
+          <appender-ref ref="APILOGFILE"/>
+          <appender-ref ref="SKYWALKING-LOG"/>
+      </root>
+      ~~~
+
+
+7. Run MasterServer, run the main method of 
'org.apache.dolphinscheduler.server.master.MasterServer' and VM Options need to 
be set are:

Review comment:
       This sentence appears to be the result of machine translation. It is 
recommended to make a readjustment.

##########
File path: blog/en-us/DS_run_in_windows.md
##########
@@ -0,0 +1,102 @@
+# Set-up DolphinScheduler Development Environment and Run Source Code on 
Windows OS
+
+1. ## Download Source Code
+
+   Official Website:https://dolphinscheduler.apache.org/en-us/index.html
+
+   GitHub Repository:https://github.com/apache/dolphinscheduler.git
+
+   Here we use 1.3.8-release tag.
+
+2. ## Install Zookeeper on Windows
+
+   1. Download zookeeper 
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz
+
+   2. Unzip 'apache-zookeeper-3.6.3-bin.tar.gz'
+
+   3. Create 'data' and 'log' folder under zookeeper directory
+
+   4. Copy the 'zoo_sample.cfg' file in the 'conf' directory, rename it to 
'zoo.cfg' and modify the data and log directory settings:
+
+      ```shell
+      dataDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\data
+      dataLogDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\log
+      ```
+
+   5. 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.
+
+3. ## Set-up Backend Environment
+
+   1. Create MYSQL database for debugging, named as 'dolphinschedulerTest'
+
+   2. Import Maven project to IDEA, find 'pom.xml' under the root directory 
and modify the scope of 'mysql-connector-java' to compile
+
+   3. Modify the 'datasource.properties' of module 'dolphinscheduler-dao'
+
+      ~~~java
+      # mysql
+      spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+      
spring.datasource.url=jdbc:mysql://localhost:3306/dolphinschedulerTest?useUnicode=true&characterEncoding=UTF-8
+      spring.datasource.username=root
+      spring.datasource.password=rootroot
+      ~~~
+
+   4. 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.
+
+   5. Modify the 'zookeeper.properties' of module 'dolphinscheduler-service'
+
+      ~~~java
+      zookeeper.quorum=localhost:2181
+      ~~~
+
+   6. Add standard output in the 'logback-worker.xml', 'logback-master.xml' 
and 'logback-api.xml'
+
+      ~~~xml
+      <root level="INFO">
+          <appender-ref ref="STDOUT"/>  <!-- 添加控制台输出 -->

Review comment:
       There is no translation of this sentence.

##########
File path: blog/en-us/DS_run_in_windows.md
##########
@@ -0,0 +1,102 @@
+# Set-up DolphinScheduler Development Environment and Run Source Code on 
Windows OS
+
+1. ## Download Source Code
+
+   Official Website:https://dolphinscheduler.apache.org/en-us/index.html
+
+   GitHub Repository:https://github.com/apache/dolphinscheduler.git
+
+   Here we use 1.3.8-release tag.
+
+2. ## Install Zookeeper on Windows
+
+   1. Download zookeeper 
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz
+
+   2. Unzip 'apache-zookeeper-3.6.3-bin.tar.gz'
+
+   3. Create 'data' and 'log' folder under zookeeper directory
+
+   4. Copy the 'zoo_sample.cfg' file in the 'conf' directory, rename it to 
'zoo.cfg' and modify the data and log directory settings:
+
+      ```shell
+      dataDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\data
+      dataLogDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\log
+      ```
+
+   5. 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.
+
+3. ## Set-up Backend Environment
+
+   1. Create MYSQL database for debugging, named as 'dolphinschedulerTest'
+
+   2. Import Maven project to IDEA, find 'pom.xml' under the root directory 
and modify the scope of 'mysql-connector-java' to compile
+
+   3. Modify the 'datasource.properties' of module 'dolphinscheduler-dao'
+
+      ~~~java
+      # mysql
+      spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+      
spring.datasource.url=jdbc:mysql://localhost:3306/dolphinschedulerTest?useUnicode=true&characterEncoding=UTF-8
+      spring.datasource.username=root
+      spring.datasource.password=rootroot
+      ~~~
+
+   4. 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.
+
+   5. Modify the 'zookeeper.properties' of module 'dolphinscheduler-service'
+
+      ~~~java
+      zookeeper.quorum=localhost:2181
+      ~~~
+
+   6. Add standard output in the 'logback-worker.xml', 'logback-master.xml' 
and 'logback-api.xml'
+
+      ~~~xml
+      <root level="INFO">
+          <appender-ref ref="STDOUT"/>  <!-- 添加控制台输出 -->
+          <appender-ref ref="APILOGFILE"/>
+          <appender-ref ref="SKYWALKING-LOG"/>
+      </root>
+      ~~~
+
+
+7. Run MasterServer, run the main method of 
'org.apache.dolphinscheduler.server.master.MasterServer' and VM Options need to 
be set are:
+
+   ~~~java
+   -Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false
+   ~~~
+
+8. Run WorkerServer, run the main method of 
'org.apache.dolphinscheduler.server.worker.WorkerServer' and VM Options need to 
be set are:

Review comment:
       Same as the previous recommendation.

##########
File path: blog/en-us/DS_run_in_windows.md
##########
@@ -0,0 +1,102 @@
+# Set-up DolphinScheduler Development Environment and Run Source Code on 
Windows OS
+
+1. ## Download Source Code
+
+   Official Website:https://dolphinscheduler.apache.org/en-us/index.html
+
+   GitHub Repository:https://github.com/apache/dolphinscheduler.git
+
+   Here we use 1.3.8-release tag.
+
+2. ## Install Zookeeper on Windows
+
+   1. Download zookeeper 
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz
+
+   2. Unzip 'apache-zookeeper-3.6.3-bin.tar.gz'
+
+   3. Create 'data' and 'log' folder under zookeeper directory
+
+   4. Copy the 'zoo_sample.cfg' file in the 'conf' directory, rename it to 
'zoo.cfg' and modify the data and log directory settings:
+
+      ```shell
+      dataDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\data
+      dataLogDir=I:\\setup\\apache-zookeeper-3.6.3-bin\\log
+      ```
+
+   5. 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.
+
+3. ## Set-up Backend Environment
+
+   1. Create MYSQL database for debugging, named as 'dolphinschedulerTest'
+
+   2. Import Maven project to IDEA, find 'pom.xml' under the root directory 
and modify the scope of 'mysql-connector-java' to compile
+
+   3. Modify the 'datasource.properties' of module 'dolphinscheduler-dao'
+
+      ~~~java
+      # mysql
+      spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+      
spring.datasource.url=jdbc:mysql://localhost:3306/dolphinschedulerTest?useUnicode=true&characterEncoding=UTF-8
+      spring.datasource.username=root
+      spring.datasource.password=rootroot
+      ~~~
+
+   4. 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.
+
+   5. Modify the 'zookeeper.properties' of module 'dolphinscheduler-service'
+
+      ~~~java
+      zookeeper.quorum=localhost:2181
+      ~~~
+
+   6. Add standard output in the 'logback-worker.xml', 'logback-master.xml' 
and 'logback-api.xml'
+
+      ~~~xml
+      <root level="INFO">
+          <appender-ref ref="STDOUT"/>  <!-- 添加控制台输出 -->
+          <appender-ref ref="APILOGFILE"/>
+          <appender-ref ref="SKYWALKING-LOG"/>
+      </root>
+      ~~~
+
+
+7. Run MasterServer, run the main method of 
'org.apache.dolphinscheduler.server.master.MasterServer' and VM Options need to 
be set are:
+
+   ~~~java
+   -Dlogging.config=classpath:logback-master.xml 
-Ddruid.mysql.usePingMethod=false
+   ~~~
+
+8. Run WorkerServer, run the main method of 
'org.apache.dolphinscheduler.server.worker.WorkerServer' and VM Options need to 
be set are:
+
+   ~~~java
+   -Dlogging.config=classpath:logback-worker.xml 
-Ddruid.mysql.usePingMethod=false
+   ~~~
+
+9. Run ApiApplicationServer, run the main method of 
'org.apache.dolphinscheduler.api.ApiApplicationServer' and VM Options need to 
be set are:

Review comment:
       Same as the previous recommendation.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to