From f526466e05e3a022a2c4bb08eb04ff0932e1d6fb Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jun 2022 02:28:40 +0800 Subject: [PATCH] up --- scripts/install/centos.sh | 8 ++++++++ scripts/install/ubuntu.sh | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/install/centos.sh b/scripts/install/centos.sh index bd3cd4f6e..2274a13d8 100755 --- a/scripts/install/centos.sh +++ b/scripts/install/centos.sh @@ -111,6 +111,14 @@ if [ -f /www/server/mdserver-web/bin/activate ];then else cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt fi + + +pip3 install gevent flask gunicorn flask_caching flask_session +pip3 install flask_socketio gevent-websocket psutil pymongo +pip3 install requests + + + cd /www/server/mdserver-web && ./cli.sh start sleep 5 diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 194e014c8..4808889bf 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -71,8 +71,6 @@ if [ ! -f /usr/local/bin/pip3 ];then python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple fi -pip3 install gevent flask gunicorn flask_caching flask_session -pip3 install flask_socketio gevent-websocket psutil pymongo cd /www/server/mdserver-web/scripts && sh lib.sh @@ -85,6 +83,9 @@ else cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt fi +pip3 install gevent flask gunicorn flask_caching flask_session +pip3 install flask_socketio gevent-websocket psutil pymongo + cd /www/server/mdserver-web && ./cli.sh start sleep 5