From d4f8fe328a2ca0b68f1a4acb3d25d503abeafdfa Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Tue, 9 Jun 2020 11:21:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85litemall-vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/util/package.sh | 10 ++++++++-- docker/util/package.sh | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/deploy/util/package.sh b/deploy/util/package.sh index 9df8a1fc7..5c47b4b8f 100644 --- a/deploy/util/package.sh +++ b/deploy/util/package.sh @@ -16,10 +16,16 @@ cat $LITEMALL_HOME/litemall-db/sql/litemall_schema.sql > $LITEMALL_HOME/deploy/d cat $LITEMALL_HOME/litemall-db/sql/litemall_table.sql >> $LITEMALL_HOME/deploy/db/litemall.sql cat $LITEMALL_HOME/litemall-db/sql/litemall_data.sql >> $LITEMALL_HOME/deploy/db/litemall.sql -cd $LITEMALL_HOME/litemall-admin # 安装阿里node镜像工具 npm install -g cnpm --registry=https://registry.npm.taobao.org -# 安装node项目依赖环境 + +# 打包litemall-admin +cd $LITEMALL_HOME/litemall-admin +cnpm install +cnpm run build:dep + +# 打包litemall-vue +cd $LITEMALL_HOME/litemall-vue cnpm install cnpm run build:dep diff --git a/docker/util/package.sh b/docker/util/package.sh index c99a2bd8f..86eecab8e 100644 --- a/docker/util/package.sh +++ b/docker/util/package.sh @@ -16,10 +16,16 @@ cat $LITEMALL_HOME/litemall-db/sql/litemall_schema.sql > $LITEMALL_HOME/docker/d cat $LITEMALL_HOME/litemall-db/sql/litemall_table.sql >> $LITEMALL_HOME/docker/db/init-sql/litemall.sql cat $LITEMALL_HOME/litemall-db/sql/litemall_data.sql >> $LITEMALL_HOME/docker/db/init-sql/litemall.sql -cd $LITEMALL_HOME/litemall-admin # 安装阿里node镜像工具 npm install -g cnpm --registry=https://registry.npm.taobao.org -# 安装node项目依赖环境 + +# 打包litemall-admin +cd $LITEMALL_HOME/litemall-admin +cnpm install +cnpm run build:dep + +# 打包litemall-vue +cd $LITEMALL_HOME/litemall-vue cnpm install cnpm run build:dep