fix: 优化一键编译脚本。

This commit is contained in:
YuleiLan 2021-04-07 19:33:00 +08:00
parent 9938093054
commit fabb1f5210

View File

@ -99,8 +99,8 @@ VUE_APP_BASE_API = '$url'
EOF
echo "开始安装前端依赖..."
npm install -g cnpm --registry=https://registry.npm.taobao.org
cd ferry_web && cnpm install && npm run build:prod && cp -r web ../build/template
npm install -g cnpm --registry=https://registry.npm.taobao.org
cd ferry_web && cnpm install && npm run build:prod && cp -r web ../build/template
echo "\n需注意: 邮件服务器信息若是暂时没有可暂时不修改但是MySQL和Redis是必须配置正确的\n"
read -p "请确认是否配置MySQL、Redis及邮件服务器信息配置文件地址: build/config/settings.ymly/n[y]: " config_status