修改WVP 前端部署流程

This commit is contained in:
孙小云 2026-01-26 13:25:39 +08:00
parent fe7c7e0146
commit 11ad503687
2 changed files with 16 additions and 2 deletions

View File

@ -65,3 +65,6 @@ cp ../ruoyi-modules/tuoheng-media/target/tuoheng-media.jar ./ruoyi/modules/media
echo "begin copy wvp-jar"
cp ../wvpjar/target/wvp-pro-2.7.4.jar ./wvp/wvpjar/jar
echo "begin copy wvp-web"
cp -r ../wvpweb/dist ./wvp/web/html/

View File

@ -52,7 +52,7 @@ docker-compose build --no-cache tuoheng-modules-fms && docker-compose up -d tuoh
docker-compose build --no-cache tuoheng-modules-media && docker-compose up -d tuoheng-modules-media
# cp ../wvpjar/target/wvp-pro-2.7.4.jar ./wvp/wvpjar/jar/
docker-compose build --no-cache wvp-pro && docker-compose up -d wvp-pro
docker-compose build --no-cache wvp-web && docker-compose up -d wvp-web
# 关闭所有环境/模块
stop(){
@ -86,3 +86,14 @@ case "$1" in
usage
;;
esac
# cd /Users/sunpeng/workspace/hyf_project/RuoYi-Cloud/wvpweb
#
# # 1. 安装依赖(如果还没安装)
# npm install
#
# # 2. 生产环境打包
# npm run build:prod
#
# 打包完成后,生成的文件会在 dist 目录中。