From cf0ebaa0d7c425f950b87b6eafcf665d451bf5ab Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 10 Jun 2022 17:18:56 +0800 Subject: [PATCH] Update ubuntu.sh --- scripts/install/ubuntu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 458fbbd09..310a7483f 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -71,7 +71,8 @@ if [ ! -d /www/server/mdserver-web ];then rm -rf /tmp/mdserver-web-master fi -apt install python3-pip +apt install -y python3-pip +apt-get install -y python3-venv if [ ! -f /usr/local/bin/pip3 ];then python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple @@ -88,6 +89,8 @@ else cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt fi + + cd /www/server/mdserver-web && ./cli.sh start sleep 5