@mgcloud/overseas-puredramatv
- Next.js: 15.5.2
- TypeScript: 5.9.2
- Jenkins: build
项目介绍
海外IAA项目-官网
说明
- Test: https://test-puredramatv.puredramatv.com/
- Prod: https://www.puredramatv.com/
- gitlab: http://39.108.189.115:81/overseas/frontend/puredramatv.git
- Node.js 版本: >=
22.17.1(LTS) - 包管理工具:
pnpm - test job: http://8.218.108.30:8081/view/前端-测试环境/job/puredramatv-frontend-测试环境-overseas//
- prod job: http://47.88.93.70:8080/job/k8s-puredramatv-frontend-生产环境-overseas/
bash
# 克隆项目
git clone http://39.108.189.115:81/overseas/frontend/puredramatv.git
# 进入项目目录
cd puredramatv
# 安装依赖
pnpm install
# 启动服务
pnpm run dev发布
bash
pnpm run buildJenkins job
shell
#!/bin/bash
# export NODEJS18_20_HOME=/opt/nodejs/node-v18.20.3
# export PATH=$NODEJS18_20_HOME/bin:$PATH
export NODEJS22_17_HOME=/opt/nodejs/node-v22.17.1
export PATH=$NODEJS22_17_HOME/bin:$PATH
node -v
pnpm install
pnpm run build || exit 1
rm -rf /etc/nginx/html/puredramatv-frontend/*
cp -r out/* /etc/nginx/html/puredramatv-frontend/
nginx -t && nginx -s reload