- 提交 jenkins 构建规则,和 node服务

This commit is contained in:
sin
2019-03-10 11:47:49 +08:00
parent 19eb551a88
commit 679a087e7c
8 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# 安装依赖包
cd mall
cd admin-web
npm install
# 开始构建
npm run build
# 创建 app 运行目录
mkdir app
# 复制配置文件
cp -rf config/server app/
# 复制文件到 server 努力
cp -rf dist app/