Browse Source

feat:添加线上发布操作

zhangwl 1 month ago
parent
commit
c1ae0b39ea
1 changed files with 7 additions and 0 deletions
  1. 7 0
      chat-ai-ui-main/README.md

+ 7 - 0
chat-ai-ui-main/README.md

@@ -4,6 +4,13 @@
 
 <img src="./src/assets/screen.png" />
 
+## 线上发布操作
+1. 打包前端代码
+    a.运行 `npm install`
+    b.打包运行 `npm run build`
+2. 发布,线上服务器 172.17.240.75 和 172.17.240.80
+3. 地址: /data01/aichat/dist
+4. 直接替换
 
 ## 安装说明