From 90890ad017596faaa434a6198f6d977f4448f487 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jun 2022 19:37:29 +0800 Subject: [PATCH] Update ubuntu.sh --- scripts/update/ubuntu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/update/ubuntu.sh b/scripts/update/ubuntu.sh index 13a8704dd..75f578dbc 100644 --- a/scripts/update/ubuntu.sh +++ b/scripts/update/ubuntu.sh @@ -24,6 +24,9 @@ if [ ! -f /usr/local/bin/pip3 ];then python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple fi + +cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt + #venv cd /www/server/mdserver-web && python3 -m venv .