From c435fbcd12754619b9500cf9e0c8e1eed171cf51 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jun 2022 02:42:35 +0800 Subject: [PATCH] up --- scripts/install/centos.sh | 3 +-- scripts/update/centos.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install/centos.sh b/scripts/install/centos.sh index 867479e07..4a8375a4d 100755 --- a/scripts/install/centos.sh +++ b/scripts/install/centos.sh @@ -112,15 +112,14 @@ else cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt fi +pip3 install gunicorn==20.1.0 pip3 install gevent==21.1.2 pip3 install gevent-websocket==0.10.1 pip3 install requests==2.20.0 -pip3 install flask_caching flask_session pip3 install flask_socketio psutil pymongo - cd /www/server/mdserver-web && ./cli.sh start sleep 5 diff --git a/scripts/update/centos.sh b/scripts/update/centos.sh index a3dfe6230..5db0d0173 100755 --- a/scripts/update/centos.sh +++ b/scripts/update/centos.sh @@ -37,11 +37,10 @@ else cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt fi - +pip3 install gunicorn==20.1.0 pip3 install gevent==21.1.2 pip3 install gevent-websocket==0.10.1 pip3 install requests==2.20.0 -pip3 install flask_caching flask_session pip3 install flask_socketio psutil pymongo