mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -31,13 +31,24 @@ 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
|
||||
|
||||
pip install --upgrade pip
|
||||
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>=1.10.1
|
||||
pip3 install python-socketio==4.2.0
|
||||
pip3 install psutil==5.9.1
|
||||
pip3 install pymongo
|
||||
|
||||
|
||||
if [ -f /etc/init.d/mw ];then
|
||||
sh /etc/init.d/mw stop && rm -rf /www/server/mdserver-web/scripts/init.d/mw && rm -rf /etc/init.d/mw
|
||||
fi
|
||||
|
||||
|
||||
|
||||
echo -e "stop mw"
|
||||
isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
|
||||
port=7200
|
||||
|
||||
Reference in New Issue
Block a user