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