diff --git a/scripts/install.sh b/scripts/install.sh index 6e834ee94..b8deb62f3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -14,10 +14,21 @@ mkdir -p /www/backup/database mkdir -p /www/backup/site +yum install -y wget curl unzip zip + + wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master cd /tmp && unzip /tmp/master.zip mv /tmp/mdserver-web-master /www/server/mdserver-web +yum groupinstall -y "Development Tools" + +yum -y install epel-release python-pip python-devel +pip install --upgrade pip +pip install -r /www/server/mdserver-web/requirements.txt + + + diff --git a/start.sh b/start.sh index ceb545fd0..ec47fe6c1 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,6 @@ #!/bin/sh -gunicorn -b 127.0.0.1:7200 app:app & +gunicorn -b :7200 app:app & python task.py & diff --git a/static/js/soft.js b/static/js/soft.js index a7513daab..952e17764 100755 --- a/static/js/soft.js +++ b/static/js/soft.js @@ -1774,10 +1774,12 @@ function GetSList(isdisplay) { } } + // console.log(plugin); + sBody += '