From fc23c1eabdc29df91f619550a76d65245e9af5fd Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 13 Jun 2022 10:47:41 +0800 Subject: [PATCH] pymongo --- scripts/install/debian.sh | 7 +++++-- scripts/install/ubuntu.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index cc3345892..c00168b9e 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -72,6 +72,10 @@ if [ ! -f /usr/local/bin/pip3 ];then fi +# pip3 install gevent flask gunicorn flask_caching flask_session +# pip3 install flask_socketio gevent-websocket psutil requests +pip3 install pymongo + cd /www/server/mdserver-web/scripts && ./lib.sh chmod 755 /www/server/mdserver-web/data @@ -82,8 +86,7 @@ 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 requests + diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 017af92d9..10d0c5d13 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -72,7 +72,7 @@ if [ ! -f /usr/local/bin/pip3 ];then fi pip3 install gevent flask gunicorn flask_caching flask_session -pip3 install flask_socketio gevent-websocket psutil +pip3 install flask_socketio gevent-websocket psutil pymongo cd /www/server/mdserver-web/scripts && ./lib.sh chmod 755 /www/server/mdserver-web/data