Update centos.sh
This commit is contained in:
parent
90fc96c04e
commit
461a9582df
|
|
@ -82,10 +82,16 @@ if [ ! -f /usr/local/bin/pip3 ];then
|
|||
fi
|
||||
|
||||
|
||||
echo "start install lib"
|
||||
cd /www/server/mdserver-web/scripts && bash lib.sh
|
||||
echo "end install lib"
|
||||
|
||||
|
||||
chmod 755 /www/server/mdserver-web/data
|
||||
|
||||
|
||||
echo "start install python lib"
|
||||
|
||||
pip install --upgrade pip
|
||||
if [ ! -f /www/server/mdserver-web/bin/activate ];then
|
||||
cd /www/server/mdserver-web && python3 -m venv .
|
||||
|
|
@ -115,6 +121,8 @@ else
|
|||
pip3 install pymongo
|
||||
fi
|
||||
|
||||
echo "end install python lib"
|
||||
|
||||
|
||||
cd /www/server/mdserver-web && ./cli.sh start
|
||||
sleep 5
|
||||
|
|
|
|||
Loading…
Reference in New Issue