mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
ubuntu22 优化
This commit is contained in:
@@ -357,6 +357,10 @@ pip3 install psutil
|
||||
pip3 install flask-socketio==5.2.0
|
||||
pip3 install mysqlclient
|
||||
|
||||
if [ "$OSNAME" == "ubuntu" ];then
|
||||
pip3 install -U --force-reinstall --no-binary :all: gevent
|
||||
fi
|
||||
|
||||
if [ ! -f /www/server/mdserver-web/bin/activate ];then
|
||||
cd /www/server/mdserver-web && python3 -m venv .
|
||||
cd /www/server/mdserver-web && source /www/server/mdserver-web/bin/activate
|
||||
@@ -380,6 +384,11 @@ pip3 install flask-socketio==5.2.0
|
||||
pip3 install mysqlclient
|
||||
|
||||
|
||||
if [ "$OSNAME" == "ubuntu" ];then
|
||||
pip3 install -U --force-reinstall --no-binary :all: gevent
|
||||
fi
|
||||
|
||||
|
||||
|
||||
##### common start #####
|
||||
|
||||
|
||||
Reference in New Issue
Block a user