You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2019/12/26 02:43:29 UTC

[incubator-dolphinscheduler-website] branch master updated: change and complement jetty deployment instructions (#62)

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

leonbao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new cbb50be  change and complement jetty deployment instructions (#62)
cbb50be is described below

commit cbb50bea61e926077c1da68b5675e6513dc59cf9
Author: lgcareer <18...@163.com>
AuthorDate: Thu Dec 26 10:43:24 2019 +0800

    change and complement jetty deployment instructions (#62)
---
 docs/en-us/user_doc/frontend-deployment.md | 13 +++++++++++--
 docs/zh-cn/user_doc/frontend-deployment.md | 13 +++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/docs/en-us/user_doc/frontend-deployment.md b/docs/en-us/user_doc/frontend-deployment.md
index 76c708d..086c308 100755
--- a/docs/en-us/user_doc/frontend-deployment.md
+++ b/docs/en-us/user_doc/frontend-deployment.md
@@ -108,7 +108,16 @@ systemctl restart nginx
 Enter the source package `dolphinscheduler-ui` directory and execute
 
 ```
-npm run build:combined
+npm install
+```
+
+> #####  ! ! ! Special attention here. If the project reports a "node-sass error" error while pulling the dependency package, execute the following command again after execution.
+```
+npm install node-sass --unsafe-perm //Install node-sass dependency separately
+```
+
+```
+npm run build:release
 ```
 
 Create the ui directory under the backend binary package directory
@@ -116,7 +125,7 @@ Create the ui directory under the backend binary package directory
 Copy all files in the dolphinscheduler-ui/dist directory to the backend binary package ui directory
 
 Visit the following url, interface address (modify it yourself)
-http://192.168.xx.xx:12345/dolphinscheduler/ui/index.html
+http://192.168.xx.xx:12345/dolphinscheduler
 
 ## FAQ
 #### Upload file size limit
diff --git a/docs/zh-cn/user_doc/frontend-deployment.md b/docs/zh-cn/user_doc/frontend-deployment.md
index 938723c..049ec4b 100755
--- a/docs/zh-cn/user_doc/frontend-deployment.md
+++ b/docs/zh-cn/user_doc/frontend-deployment.md
@@ -98,7 +98,16 @@ systemctl restart nginx
 在源码包`dolphinscheduler-ui`目录下执行
 
 ```
-npm run build:combined
+npm install
+```
+
+> #####  !!!这里特别注意 项目如果在拉取依赖包的过程中报 " node-sass error " 错误,请在执行完后再次执行以下命令
+```
+npm install node-sass --unsafe-perm //单独安装node-sass依赖
+```
+
+```
+npm run build:release
 ```
 
 在后端二进制包目录下创建ui目录
@@ -106,7 +115,7 @@ npm run build:combined
 拷贝dolphinscheduler-ui/dist目录下所有的文件到后端二进制包ui目录下
 
 访问以下url,接口地址(自行修改)
-http://192.168.xx.xx:12345/dolphinscheduler/ui/index.html
+http://192.168.xx.xx:12345/dolphinscheduler