auth-center-frontend
- Vue 2.6.10
- Jenkins build
项目介绍
用户应用中心
说明
- Test: https://test-auth-center.sykt520.com/index
- Prod: https://auth-center.sykt520.com/index
- gitlab: http://39.108.189.115:81/general/frontend/auth-center-frontend.git
- Node.js 版本:
16.14.2 - 包管理工具:
npm - test job: http://120.78.73.72:5186/job/auth-center-frontend-测试环境(mg-movie)/
- prod job: http://120.77.159.89:8080/job/k8s-auth-center-frontend-生产环境(mg-movie)-user-channel/
bash
# 克隆项目
git clone http://39.108.189.115:81/general/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 *