Unverified Commit 0aea905d authored by lieil's avatar lieil Committed by GitHub
Browse files

优化一键编译部署脚本

安装阿里cnpm镜像工具、确保首次编译node项目依赖环境
parent 40783250
......@@ -13,8 +13,12 @@ mvn clean
mvn package
cd ./litemall-admin
# 安装阿里node镜像工具
npm install -g cnpm --registry=https://registry.npm.taobao.org
# 安装node项目依赖环境
cnpm install
cnpm run build:prod
cd ..
echo $PWD
./deploy/util/upload.sh
\ No newline at end of file
./deploy/util/upload.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment