From 0012bd0520d311a247cbf30bb847567b35a61e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Wed, 29 Apr 2026 20:19:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..9ff399e --- /dev/null +++ b/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# 更新代码 +echo "正在拉取最新代码..." +git pull + +# 构建前端 +echo "正在构建前端..." +cd frontend/ops_vue_js +npm run build +cd ../.. + +# 安装后端 +echo "正在安装后端..." +cd backend/my_work +sudo bash install.sh +cd ../.. + +echo "安装完成!"