pull/109/head
midoks 3 years ago
parent 0717a59f87
commit f526466e05
  1. 8
      scripts/install/centos.sh
  2. 5
      scripts/install/ubuntu.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

@ -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

Loading…
Cancel
Save