---
# System prepended metadata

title: DeviceOn/BI Portal Center Portal R&D
tags: [Center Portal, CI/CD]

---

# DeviceOn/BI Portal Center Portal R&D
---
###### tags: `CI/CD`, `Center Portal`

## 開發環境
- 先參考專案之間的 npm 與 node 版本切換切至 volta pin node@v12.18.3
- cd deviceon-bi-central-portal-front-end/
- npm install
- npm run build
- 將 dist 複製過去覆蓋 back-end 的 dist
- cd ..
- cd deviceon-bi-central-portal-back-end/
- node app.js

## Docker Build
1. Jenkins:
    http://172.16.9.204:8080/view/ImageBuilder/job/central_portal_Builder/
    帳號：develop
    密碼：常用密碼

![](https://i.imgur.com/oL9IUQv.png)

![](https://i.imgur.com/AcFnU1c.png)

等待建置完成之後上 azure 改版號，重啟之後要等待一段時間

2. azure(要知會 Itsung 做二次驗證):
    https://portal.azure.com/
    帳號：DCGAZUREADMIN@Advantecher.onmicrosoft.com
    密碼：問 Itsung
    ![](https://i.imgur.com/idxzFgt.png)
![](https://i.imgur.com/jRJnFPw.png)

