pull/109/head
midoks 3 years ago
parent dee6a75583
commit 43259330e1
  1. 1
      scripts/install/centos.sh
  2. 2
      scripts/install_dev.sh
  3. 2
      scripts/update_dev.sh

@ -119,7 +119,6 @@ if [ -f /www/server/mdserver-web/bin/activate ];then
pip3 install pymongo pip3 install pymongo
else else
cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt
fi fi
echo "end install python lib" echo "end install python lib"

@ -72,7 +72,7 @@ if [ $OSNAME != "macos" ];then
fi fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/install/${OSNAME}.sh | bash curl -fsSL https://gitee.com/midoks/mdserver-web/raw/dev/scripts/install/${OSNAME}.sh | bash
endTime=`date +%s` endTime=`date +%s`

@ -52,7 +52,7 @@ rm -rf /tmp/mdserver-web-dev
#pip uninstall public #pip uninstall public
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/update/${OSNAME}.sh | bash curl -fsSL https://gitee.com/midoks/mdserver-web/raw/dev/scripts/update/${OSNAME}.sh | bash
endTime=`date +%s` endTime=`date +%s`
((outTime=($endTime-$startTime)/60)) ((outTime=($endTime-$startTime)/60))

Loading…
Cancel
Save