1 Star 0 Fork 154

qb/fastcms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 660 Bytes
一键复制 编辑 原始数据 按行查看 历史
herowjun 提交于 2022-10-09 22:35 . 优化
#!/bin/sh
mvn clean install -Dmaven.test.skip=true
# del fastcms-dist
rm -rf dist
# create fastcms-dist
mkdir dist
mkdir dist/config
mkdir dist/plugins
mkdir dist/upload
mkdir dist/htmls
mkdir dist/logs
# copy main program and config
cp web/target/fastcms-web-*-exec.jar dist
cp web/src/main/resources/application-prod.yml dist/config
# cp doc/sql/* dist/config
# copy htmls
cp -r templates/src/main/resources dist
cp web/startup.cmd dist
cp web/startup.sh dist
cp web/shutdown.cmd dist
cp web/shutdown.sh dist
cp web/Dockerfile dist
cp web/docker-build.sh dist
cp web/docker-run.sh dist
cd dist
# run main
mv fastcms-web-*-exec.jar fastcms-server.jar
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/qu_bing/fastcms.git
[email protected]:qu_bing/fastcms.git
qu_bing
fastcms
fastcms
master

搜索帮助