From 040f2766db6aa6db09afc6d185226ffab957cc8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=AA=E6=B8=85?= <2981381489@qq.com> Date: Tue, 23 Jun 2026 12:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 install.sh diff --git a/install.sh b/install.sh deleted file mode 100644 index 3fa8d8f..0000000 --- a/install.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -set -e - -echo "==========================================" -echo " 项目依赖一键安装" -echo "==========================================" - -# ---------- 前端 ---------- -echo "" -echo "[1/2] 安装前端依赖..." -cd "$(dirname "$0")/frontend" - -# 阿里镜像加速 -npm config set registry https://registry.npmmirror.com - -npm install -echo "前端依赖安装完成" - -# ---------- 后端 ---------- -echo "" -echo "[2/2] 安装后端依赖..." -cd "$(dirname "$0")/backend" - -# 阿里镜像加速 -composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 2>/dev/null || true - -composer install -echo "后端依赖安装完成" - -echo "" -echo "==========================================" -echo " 全部安装完成!" -echo "=========================================="