Update ubuntu.sh

pull/109/head
midoks 3 years ago
parent 195d5bb1b8
commit b3ca3ff2cd
  1. 8
      scripts/install/ubuntu.sh

@ -65,13 +65,15 @@ if [ ! -d /www/server/mdserver-web ];then
rm -rf /tmp/mdserver-web-master
fi
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/scripts && bash lib.sh
chmod 755 /www/server/mdserver-web/data
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
pip install --upgrade pip

Loading…
Cancel
Save