edit deploy.sh
This commit is contained in:
parent
9a0601cae6
commit
9501ec94a4
@ -55,9 +55,9 @@ fi
|
||||
echo "📦 安装 Python 依赖..."
|
||||
source venv/bin/activate
|
||||
echo "🐍 虚拟环境已激活: $(which python)"
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install gunicorn supervisor # 生产环境依赖
|
||||
pip install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple/
|
||||
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
|
||||
pip install gunicorn supervisor -i https://mirrors.aliyun.com/pypi/simple/ # 生产环境依赖
|
||||
|
||||
# 7. 构建前端
|
||||
echo "🏗️ 构建前端..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user