auth-center-frontend
- Vue 2.6.10
- Jenkins build
项目介绍
海外项目-用户应用中心
说明
- Test: https://test-auth-center.minidrama123.com
- Prod: https://auth-center.zeroshortv.com
- gitlab: http://39.108.189.115:81/overseas/frontend/auth-center-frontend.git
- Node.js 版本:
16.14.2 - 包管理工具:
npm - test job: http://8.218.108.30:8081/view/前端-测试环境/job/overseas-auth-center-frontend-测试/
- prod job: http://47.88.93.70:8080/job/k8s-overseas-auth-center-frontend-生产环境/
bash
# 克隆项目
git clone http://39.108.189.115:81/overseas/frontend/auth-center-frontend.git
# 进入项目目录
cd auth-center-frontend
# 安装依赖 (node is 16.14.2)
npm install
# 启动服务
npm run dev发布
bash
# 构建测试环境
npm run test
# 构建生产环境
npm run build:prodJenkins job
shell
#!/bin/bash
export NODEJS16_HOME=/opt/nodejs/node-v16.14.2
export PATH=$NODEJS16_HOME/bin:$PATH
npm install
npm run test
cd dist/
ls -l
rm -f html.tar
tar zcvf html.tar *