Skip to content

Commit

Permalink
Merge pull request #13 from xtt55/0.7.0
Browse files Browse the repository at this point in the history
0.5.0->0.6.0
  • Loading branch information
wushengyeyouya authored Aug 19, 2019
2 parents c96add2 + 9866af1 commit 8da43a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions docs/en_US/ch1/Front-end_deployment_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.

Expand All @@ -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;
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/ch1/前台部署文档.md
Original file line number Diff line number Diff line change
Expand Up @@ -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、部署
    分为两种部署方式,自动化部署和手动部署
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scriptis",
"version": "0.5.0",
"version": "0.6.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down

0 comments on commit 8da43a5

Please sign in to comment.