Commit ed7d5d74 authored by jincheny's avatar jincheny
Browse files

Fixed 部署文档补充

parent 43aea239
Showing with 16 additions and 6 deletions
+16 -6
...@@ -27,6 +27,7 @@ npm run build ...@@ -27,6 +27,7 @@ npm run build
2. 修改前端配置 2. 修改前端配置
```bash ```bash
# FlyFish 目录下执行
# 修改配置 # 修改配置
vim lcapWeb/lcapWeb/conf/env-config.js vim lcapWeb/lcapWeb/conf/env-config.js
...@@ -55,7 +56,16 @@ componentSplitApiPrefix: '/api' ...@@ -55,7 +56,16 @@ componentSplitApiPrefix: '/api'
``` ```
3. nginx 部署前端 3. 修改大屏应用开发配置
```bash
# FlyFish 目录下执行
# CW_LOCAL_IP 修改为 当前主机IP
vim ./lcapWeb/lcapWeb/www/web/screen/config/env.js
```
4. nginx 部署前端
```bash ```bash
# 以下命令要在根目录下执行 # 以下命令要在根目录下执行
...@@ -66,14 +76,14 @@ nginx 配置文件位置检查 ...@@ -66,14 +76,14 @@ nginx 配置文件位置检查
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
touch /etc/nginx/conf.d/FlyFish-2.1.0.conf touch /etc/nginx/conf.d/flyfish.conf
or or
touch /usr/local/nginx/conf/conf.d/FlyFish-2.1.0.conf touch /usr/local/nginx/conf/conf.d/flyfish.conf
# 添加配置 # 添加配置
vim /etc/nginx/conf.d/FlyFish-2.1.0.conf vim /etc/nginx/conf.d/flyfish.conf
or or
vim /usr/local/nginx/conf/conf.d/FlyFish-2.1.0.conf vim /usr/local/nginx/conf/conf.d/flyfish.conf
# 复制并修改以下配置到 flyfish.conf # 复制并修改以下配置到 flyfish.conf
map $http_upgrade $connection_upgrade { map $http_upgrade $connection_upgrade {
......
...@@ -99,7 +99,7 @@ export default Form.create({ name: "FORM_IN_USER_MODAL" })( ...@@ -99,7 +99,7 @@ export default Form.create({ name: "FORM_IN_USER_MODAL" })(
}) + "用户邮箱", }) + "用户邮箱",
}, },
{ {
pattern: /^[A-Za-zd0-9]+([-_.][A-Za-zd]+)*@([A-Za-zd]+[-.])+[A-Za-zd]{2,5}$/, pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/,
message: "请输入正确的邮箱格式", message: "请输入正确的邮箱格式",
}, },
], ],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment