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

lidongdai 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 eba3680  [SOC] Translate dev_quick_start (#436)
eba3680 is described below

commit eba368053c7cb8cddf5be9fdb9136aa57bb5d407
Author: QuakeWang <[email protected]>
AuthorDate: Sat Oct 2 22:06:06 2021 +0800

    [SOC] Translate dev_quick_start (#436)
    
    * Update docsdev.js
    
    add Dev-Quick-Start html
    
    * Create dev_quick_start.md
    
    add dev_quick_start English version
    
    * Update dev_quick_start.md
    
    Standardized format
    
    * Update dev_quick_start.md
    
    * Update site.js
    
    set the dev default document in site_config/site.js to dev_quick_start
    
    * Update dev_quick_start.md
    
    * Update dev_quick_start.md
---
 docs/en-us/dev/user_doc/dev_quick_start.md | 59 ++++++++++++++++++++++++++++++
 docs/zh-cn/dev/user_doc/dev_quick_start.md | 57 ++++++++++++++---------------
 site_config/docsdev.js                     |  4 ++
 site_config/site.js                        |  2 +-
 4 files changed, 91 insertions(+), 31 deletions(-)

diff --git a/docs/en-us/dev/user_doc/dev_quick_start.md 
b/docs/en-us/dev/user_doc/dev_quick_start.md
new file mode 100644
index 0000000..9265454
--- /dev/null
+++ b/docs/en-us/dev/user_doc/dev_quick_start.md
@@ -0,0 +1,59 @@
+Note: Only for standalone development debugging use. The default option is H2 
Database and Zookeeper Testing Server.
+For testing the plugin, you can modify the plugin.bind in StandaloneServer or 
modify the configuration file. Please check the plugin description for details.
+
+#### 1. Download the source Code
+
+GitHub :https://github.com/apache/dolphinscheduler
+
+```shell
+mkdir dolphinscheduler
+cd dolphinscheduler
+git clone [email protected]:apache/dolphinscheduler.git
+```
+
+We use the dev branch here.
+
+#### 2. Start backend
+
+```shell
+mvn install -DskipTests
+```
+
+Just start org.apache.dolphinscheduler.server.StandaloneServer directly.
+
+#### 3. Set up the front-end
+
+##### i. Install node
+
+######  a. Install nvm
+
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
+
+######  b. Refresh the environment variables
+
+ source ~/.bash_profile
+
+######  c. Install node
+
+ nvm install v12.20.2
+
+note: Mac users could install npm through brew: brew install npm
+
+###### d. Validate the node installation
+
+ node --version
+
+##### ii. cd dolphinscheduler-ui and run the following commands:
+
+```shell
+npm install
+npm run start
+```
+
+##### iii. Visit [http://localhost:8888](http://localhost:8888/)
+
+##### iv. Sign in with the administrator account
+
+>    username: admin
+>
+>    password: dolphinscheduler123
diff --git a/docs/zh-cn/dev/user_doc/dev_quick_start.md 
b/docs/zh-cn/dev/user_doc/dev_quick_start.md
index 79f954d..a9747c2 100644
--- a/docs/zh-cn/dev/user_doc/dev_quick_start.md
+++ b/docs/zh-cn/dev/user_doc/dev_quick_start.md
@@ -1,6 +1,6 @@
-注意:仅供单机开发调试使用,默认使用H2 Database,Zookeeper Testing Server。
+注意:仅供单机开发调试使用,默认使用 H2 Database,Zookeeper Testing Server。
 
-如需测试插件,可自行修改StandaloneServer中plugin.bind,亦或修改配置文件。具体请查看插件说明。
+如需测试插件,可自行修改 StandaloneServer中plugin.bind,亦或修改配置文件。具体请查看插件说明。
 #### 1.下载源码
 
 GitHub :https://github.com/apache/dolphinscheduler
@@ -16,35 +16,32 @@ git clone [email protected]:apache/dolphinscheduler.git
 ```
 mvn install -DskipTests
 ```
-直接启动org.apache.dolphinscheduler.server.StandaloneServer即可
+直接启动 org.apache.dolphinscheduler.server.StandaloneServer 即可
 
 #### 3: 搭建前端环境
 
     1.   #### 安装 node
-
-        1.   安装 nvm
-             curl -o- 
https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
-        2.   刷新环境变量
-             source ~/.bash_profile
-        3.   安装 node
-             nvm install v12.20.2 备注: Mac 用户还可以通过 brew 安装 npm: brew install npm
-        4.   验证 node 安装成功
-             node --version
-
-    2.   进入 dolphinscheduler-ui,运行
-
-         ```shell
-         npm install
-         npm run start
-         ```
-
-    3.   访问 [http://localhost:8888](http://localhost:8888/)
-
-    4.   登录管理员账号
-
-         >    用户:admin
-         >
-         >    密码:dolphinscheduler123
-
-
-
+    
+              1.   安装 nvm
+                   curl -o- 
https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
+              2.   刷新环境变量
+                   source ~/.bash_profile
+              3.   安装 node
+                   nvm install v12.20.2 备注: Mac 用户还可以通过 brew 安装 npm: brew 
install npm
+              4.   验证 node 安装成功
+                   node --version
+    
+         2.   进入 dolphinscheduler-ui,运行
+    
+              ```shell
+              npm install
+              npm run start
+              ```
+    
+         3.   访问 [http://localhost:8888](http://localhost:8888/)
+    
+         4.   登录管理员账号
+    
+              >    用户:admin
+              >
+              >    密码:dolphinscheduler123
diff --git a/site_config/docsdev.js b/site_config/docsdev.js
index d56ea73..84f4138 100644
--- a/site_config/docsdev.js
+++ b/site_config/docsdev.js
@@ -5,6 +5,10 @@ export default {
         title: 'Deployment Document',
         children: [
           {
+            title: 'Dev-Quick-Start',
+            link: '/en-us/docs/dev/user_doc/dev_quick_start.html',
+          },
+          {
             title: 'Alert-SPI',
             link: '/en-us/docs/dev/user_doc/alert_spi.html',
           },
diff --git a/site_config/site.js b/site_config/site.js
index abc1f96..bc9b723 100644
--- a/site_config/site.js
+++ b/site_config/site.js
@@ -77,7 +77,7 @@ export default {
           {
             key: 'docsdev',
             text: 'dev',
-            link: '/en-us/docs/dev/user_doc/alert_spi.html',
+            link: '/en-us/docs/dev/user_doc/dev_quick_start.html',
           },
         ],
       },

Reply via email to