You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by le...@apache.org on 2019/12/03 03:53:01 UTC
[incubator-dolphinscheduler-website] branch master updated: Modify
front-end deployment manual deployment instructions (#45)
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 9d46378 Modify front-end deployment manual deployment instructions (#45)
9d46378 is described below
commit 9d4637886b8700678bb9a6f28177c2e9d327cb68
Author: lgcareer <18...@163.com>
AuthorDate: Tue Dec 3 11:52:54 2019 +0800
Modify front-end deployment manual deployment instructions (#45)
* add deploy on jetty
* add deploy on jetty
* Modify front-end deployment manual deployment instructions
---
docs/en-us/user_doc/frontend-deployment.md | 24 ++++++++++++++++++++----
docs/zh-cn/user_doc/frontend-deployment.md | 28 +++++++++++++++++++++++-----
2 files changed, 43 insertions(+), 9 deletions(-)
diff --git a/docs/en-us/user_doc/frontend-deployment.md b/docs/en-us/user_doc/frontend-deployment.md
index 8322a25..76c708d 100755
--- a/docs/en-us/user_doc/frontend-deployment.md
+++ b/docs/en-us/user_doc/frontend-deployment.md
@@ -8,9 +8,10 @@ The front-end has three deployment modes: automated deployment, manual deploymen
#### Download the installation package
-Please download the latest version of the installation package, download address: [github download](https://github.com/apache/incubator-dolphinscheduler/releases)
+Please download the latest version of the installation package, download address: [download](https://dist.apache.org/repos/dist/dev/incubator/dolphinscheduler)
-After downloading dolphinscheduler-ui-x.x.x.tar.gz,decompress`tar -zxvf dolphinscheduler-ui-x.x.x.tar.gz ./`and enter the`dolphinscheduler-ui`directory
+After downloading apache-dolphinscheduler-incubating-x.x.x-dolphinscheduler-front-bin.tar.gz,
+decompress`tar -zxvf apache-dolphinscheduler-incubating-x.x.x-dolphinscheduler-front-bin.tar.gz ./`and enter the`dolphinscheduler-ui`directory
@@ -39,10 +40,12 @@ under this directory, execute`./install-dolphinscheduler-ui.sh`
### Manual Deployment
+You can choose one of the following two deployment methods, or you can choose other deployment methods according to your production environment.
-Install epel source `yum install epel-release -y`
+#### nginx deployment
+Option to install epel source `yum install epel-release -y`
-Install Nginx `yum install nginx -y`
+Install Nginx by yourself, download it from the official website: http://nginx.org/en/download.html or `yum install nginx -y`
> #### Nginx configuration file address
@@ -101,6 +104,19 @@ systemctl restart nginx
- status `systemctl status nginx`
+#### jetty deployment
+Enter the source package `dolphinscheduler-ui` directory and execute
+
+```
+npm run build:combined
+```
+
+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
## 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 e564e22..938723c 100755
--- a/docs/zh-cn/user_doc/frontend-deployment.md
+++ b/docs/zh-cn/user_doc/frontend-deployment.md
@@ -5,10 +5,11 @@
## 1、准备工作
#### 下载安装包
-请下载最新版本的安装包,下载地址: [github下载](https://github.com/analysys/EasyScheduler/releases)
+请下载最新版本的安装包,下载地址: [下载](https://dist.apache.org/repos/dist/dev/incubator/dolphinscheduler)
+
+下载 apache-dolphinscheduler-incubating-x.x.x-dolphinscheduler-front-bin.tar.gz 后,
+解压`tar -zxvf apache-dolphinscheduler-incubating-x.x.x-dolphinscheduler-front-bin.tar.g ./`后,进入`dolphinscheduler-ui`目录
-下载 dolphinscheduler-ui-x.x.x.tar.gz 后,解压`tar -zxvf dolphinscheduler-ui-x.x.x.tar.gz ./`后,进入`dolphinscheduler-ui`目录
-
@@ -34,10 +35,12 @@ esc_proxy_port="http://192.168.xx.xx:12345"
### 2.2 手动部署
+以下两种部署方式任选其一即可,也可以根据自己生产环境情况自行选择其他方式部署
-安装epel源 `yum install epel-release -y`
+#### 2.2.1 nginx方式部署
+选装epel源 `yum install epel-release -y`
-安装Nginx `yum install nginx -y`
+自行安装Nginx,去官网下载: http://nginx.org/en/download.html 或者 `yum install nginx -y`
> #### nginx配置文件地址
@@ -91,6 +94,21 @@ systemctl restart nginx
- 状态 `systemctl status nginx`
+#### 2.2.2 jetty方式部署
+在源码包`dolphinscheduler-ui`目录下执行
+
+```
+npm run build:combined
+```
+
+在后端二进制包目录下创建ui目录
+
+拷贝dolphinscheduler-ui/dist目录下所有的文件到后端二进制包ui目录下
+
+访问以下url,接口地址(自行修改)
+http://192.168.xx.xx:12345/dolphinscheduler/ui/index.html
+
+
## 前端常见问题
#### 1. 上传文件大小限制