diff --git a/docs/en_US/ch1/Front-end_deployment_documentation.md b/docs/en_US/ch1/Front-end_deployment_documentation.md index c754809..a69a279 100644 --- a/docs/en_US/ch1/Front-end_deployment_documentation.md +++ b/docs/en_US/ch1/Front-end_deployment_documentation.md @@ -4,15 +4,15 @@ Scriptis is a data analysis tool based on Linkis. Before deploying Scriptis, you 1. Select the corresponding installation package to download. -2. Unzip the downloaded installation package in the installation directory: unzip wedatasphere-scriptis-0.5.0-dist.zip. +2. Unzip the downloaded installation package in the installation directory: unzip wedatasphere-scriptis-0.6.0-dist.zip. ## 2 Deploy -​ There are two deployment methods, automated and manual deployment. +​ There are two deployment methods, automated and manual deployment. ### 2.1 Automated deployment -Go to the frontend directory ```wedatasphere-scriptis``` and edit ```vi config.sh ``` to change the interface address of the frontend and backend port. backend port interface address is the gateway address of linkis. +Go to the frontend directory ```wedatasphere-scriptis``` and edit ```vi config.sh ``` to change the interface address of the frontend and backend port. backend port interface address is the gateway address of linkis. ### (3) Modify and save the configuration file created above @@ -29,7 +29,7 @@ scriptis_ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/( After the modification, run the following command in the directory: ```sudo sh install.sh > install.log 2>&1``` -Next, you can access ```http://scriptis_ipaddr:scriptis_port``` directly via Chrome, scriptis_port is the port configured in config.sh and scriptis_ipaddr is the IP of the machine that used for installation. +Next, you can access ```http://scriptis_ipaddr:scriptis_port``` directly via Chrome, scriptis_port is the port configured in config.sh and scriptis_ipaddr is the IP of the machine that used for installation. If encounter access failure, please check install.log and find out the errors. @@ -48,11 +48,11 @@ server { #charset koi8-r; #access_log /var/log/nginx/host.access.log main; location / { - root /appcom/Install/scriptis/ROOT; # directory where package decompressed + root /appcom/Install/scriptis/ROOT; # directory where package decompressed #in the fronted index index.html index.html; } - location /ws {#webSocket configure spport + location /ws {#webSocket configure spport proxy_pass http://192.168.xxx.xxx:9001;#IP port of the linkis gateway service proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -84,11 +84,11 @@ server { 3. Copy the frontend package to the corresponding directory: ```/appcom/Install/scriptis/ROOT; # directory where package decompressed in the frontend``` 4. Start service: ```sudo systemctl restart nginx``` -5. You can directly access ```http://nginx_ip:nginx_port``` via Chrome after execution. +5. You can directly access ```http://nginx_ip:nginx_port``` via Chrome after execution. ## 3 FAQs -(1) limitations on the size of files that being uploaded +(1) limitations on the size of files that being uploaded ``` sudo vi /etc/nginx/nginx.conf diff --git "a/docs/zh_CN/ch1/\345\211\215\345\217\260\351\203\250\347\275\262\346\226\207\346\241\243.md" "b/docs/zh_CN/ch1/\345\211\215\345\217\260\351\203\250\347\275\262\346\226\207\346\241\243.md" index c299352..5969e97 100644 --- "a/docs/zh_CN/ch1/\345\211\215\345\217\260\351\203\250\347\275\262\346\226\207\346\241\243.md" +++ "b/docs/zh_CN/ch1/\345\211\215\345\217\260\351\203\250\347\275\262\346\226\207\346\241\243.md" @@ -3,7 +3,7 @@ Scriptis是基于Linkis开发的数据分析工具,部署Scriptis前需要先 ## 1、准备工作 1. 点击release 选择对应的安装包进行下载 -2. 将下载下来的安装包在安装目录进行解压:unzip wedatasphere-scriptis-0.5.0-dist.zip +2. 将下载下来的安装包在安装目录进行解压:unzip wedatasphere-scriptis-0.6.0-dist.zip ## 2、部署     分为两种部署方式,自动化部署和手动部署 @@ -31,7 +31,7 @@ scriptis_ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/( ### 2.2 手动部署 1.安装Nginx:```sudo yum install nginx -y``` -2.修改配置文件:sudo vi /etc/nginx/conf.d/scriptis.conf +2.修改配置文件:sudo vi /etc/nginx/conf.d/scriptis.conf 添加如下内容: ``` server { diff --git a/package.json b/package.json index 1353103..291efe5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scriptis", - "version": "0.5.0", + "version": "0.6.0", "private": true, "scripts": { "serve": "vue-cli-service serve",