beetlsql3-dev
parent
61845889e3
commit
29ed22ccad
@ -0,0 +1,18 @@
|
||||
(function () {
|
||||
var config = {
|
||||
site:'http://zycloud.sztzjy.com/server', //数据请求地址
|
||||
viewUrl:'http://39.108.104.1/op/view.aspx?src=', //PDF、PPT、WORD等在线预览的地址
|
||||
|
||||
// site:'http://192.168.110.95:9090/server'
|
||||
// site:'http://czys.cj-edu.com/server'
|
||||
// site:'http://czvtc.cj-edu.com/server'
|
||||
// site:'http://hbsi.cj-edu.com/server'
|
||||
// site:'http://bhlgxy.cj-edu.com/server'
|
||||
//site:'http://hbkjxy.cj-edu.com/server'
|
||||
// site:'http://jjykt.cj-edu.com/server'
|
||||
}
|
||||
window.configs = {
|
||||
API_ROOT: config.site,
|
||||
VIEW_URL: config.viewUrl,
|
||||
};
|
||||
})();
|
@ -0,0 +1,12 @@
|
||||
#! /bin/bash
|
||||
HOME_PATH=/data/dev
|
||||
LOG_PATH=/data/logs
|
||||
TEACHER_URL=http://zycloud.sztzjy.com/
|
||||
|
||||
rm -rf ${HOME_PATH}/web-1.0.jar
|
||||
mkdir -p ${HOME_PATH}
|
||||
tar zxvf /home/admin/app/tianzepro-package.tgz -C ${HOME_PATH}
|
||||
|
||||
ps -ef | grep java | grep web | grep -v grep | awk '{print$2}' | xargs kill -9
|
||||
|
||||
nohup java -Xms256m -Xmx512m -jar -Dspring.profiles.active=prod -Dserver.port=9090 -Dstudent.teacher.url=${TEACHER_URL} ${HOME_PATH}/web/target/web-1.0.jar > ${LOG_PATH}/tianze-pro.log 2>&1&
|
@ -0,0 +1,8 @@
|
||||
#! /bin/bash
|
||||
HOME_PATH=/www/wwwroot/tianze
|
||||
|
||||
rm -rf ${HOME_PATH}
|
||||
mkdir -p ${HOME_PATH}
|
||||
tar zxvf /home/admin/app/tianze-student.tgz -C ${HOME_PATH}
|
||||
# 拷贝现有的配置文件
|
||||
cp -f /data/api.js ${HOME_PATH}/dist/static/api.js
|
Loading…
Reference in New Issue