2 Star 0 Fork 0

baijs / lingyun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deploy.sh 416 Bytes
一键复制 编辑 原始数据 按行查看 历史
baijs 提交于 2017-07-25 21:20 . deploy shell
#!/bin/sh
mvn clean package -Dmaven.test.skip=true
sh /opt/tomcat-lingyun/bin/shutdown.sh
datename=$(date +%Y%m%d-%H%M%S)
mv /opt/tomcat-lingyun/webapps/ROOT/ /opt/backup-lingyun/ROOT.bak.$datename
mv lingyun-cloud-web/target/ROOT /opt/tomcat-lingyun/webapps/
# cp -fr lingyun-cloud-web/src/main/profiles/prod/* /opt/tomcat-lingyun/webapps/ROOT/WEB-INF/classes/
sh /opt/tomcat-lingyun/bin/startup.sh
exit
Java
1
https://gitee.com/jsbai/lingyun.git
git@gitee.com:jsbai/lingyun.git
jsbai
lingyun
lingyun
master

搜索帮助