5 Star 1 Fork 0

南北一家 / jhj-parent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
update-jhj-debug.sh 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
南北一家 提交于 2017-06-22 17:33 . -- 设置发布的脚本debug
cd /data/src/jhj-parent/
git reset --hard HEAD
git pull
sed -i "s#^debug=.*#debug=true#g" /data/src/jhj-parent/jhj-app/src/main/resources/config.properties
sed -i "s#^debug=.*#debug=true#g" /data/src/jhj-parent/jhj-oa/src/main/resources/config.properties
mvn clean package
/data/tomcat/bin/shutdown.sh
sleep 1
rm -rf /data/tomcat/webapps/jhj-app
\cp -rf /data/src/jhj-parent/jhj-app/target/jhj-app.war /data/tomcat/webapps/
rm -rf /data/tomcat/webapps/jhj-oa
\cp -rf /data/src/jhj-parent/jhj-oa/target/jhj-oa.war /data/tomcat/webapps/
/data/tomcat/bin/startup.sh
1
https://gitee.com/lnc/jhj-parent.git
git@gitee.com:lnc/jhj-parent.git
lnc
jhj-parent
jhj-parent
master

搜索帮助