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

kirs 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 4c12144  dev quick start (#434)
4c12144 is described below

commit 4c1214494d5d373e501048a8bcde98f1c3414535
Author: Kirs <[email protected]>
AuthorDate: Tue Sep 14 15:03:53 2021 +0800

    dev quick start (#434)
---
 docs/zh-cn/dev/user_doc/dev_quick_start.md | 50 ++++++++++++++++++++++++++++++
 site_config/docsdev.js                     |  4 +++
 site_config/site.js                        |  2 +-
 3 files changed, 55 insertions(+), 1 deletion(-)

diff --git a/docs/zh-cn/dev/user_doc/dev_quick_start.md 
b/docs/zh-cn/dev/user_doc/dev_quick_start.md
new file mode 100644
index 0000000..ff3a60a
--- /dev/null
+++ b/docs/zh-cn/dev/user_doc/dev_quick_start.md
@@ -0,0 +1,50 @@
+注意:仅供单机开发调试使用,默认使用H2 Database,Zookeeper Testing Server。
+
+如需测试插件,可自行修改StandaloneServer中plugin.bind,亦或修改配置文件。具体请查看插件说明。
+#### 1.下载源码
+
+     GitHub :https://github.com/apache/dolphinscheduler
+
+     ```shell
+     mkdir dolphinscheduler
+     cd dolphinscheduler
+     git clone [email protected]:apache/dolphinscheduler.git
+     ```
+
+     这里选用 dev 分支。
+#### 2: 启动后端
+```
+mvn install -DskipTests
+```
+直接启动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
+
+
+
diff --git a/site_config/docsdev.js b/site_config/docsdev.js
index e6fff8d..0191bed 100644
--- a/site_config/docsdev.js
+++ b/site_config/docsdev.js
@@ -32,6 +32,10 @@ export default {
         title: '开发文档',
         children: [
           {
+            title: 'Dev-Quick-Start',
+            link: '/zh-cn/docs/dev/user_doc/dev_quick_start.html',
+          },
+          {
             title: 'Alert-SPI',
             link: '/zh-cn/docs/dev/user_doc/alert_spi.html',
           },
diff --git a/site_config/site.js b/site_config/site.js
index 3c6cf4c..abc1f96 100644
--- a/site_config/site.js
+++ b/site_config/site.js
@@ -289,7 +289,7 @@ export default {
           {
             key: 'docsdev',
             text: 'dev',
-            link: '/zh-cn/docs/dev/user_doc/registry_spi.html',
+            link: '/zh-cn/docs/dev/user_doc/dev_quick_start.html',
           },
         ],
       },

Reply via email to