92 lines
2.7 KiB
Markdown
92 lines
2.7 KiB
Markdown
|
|
# 项目配置文档
|
|||
|
|
|
|||
|
|
## 📦 项目信息
|
|||
|
|
|
|||
|
|
### 代码仓库
|
|||
|
|
- **Git 地址**: https://git.cisdigital.cn/mip/lingshu/front-end/fe-cisdigital-lingshu-lcdp.git
|
|||
|
|
|
|||
|
|
### 📖 规范文档
|
|||
|
|
|
|||
|
|
| 规范类型 | 链接 |
|
|||
|
|
|---------|------|
|
|||
|
|
| 技术规范 | https://ones.cisdigital.cn/wiki/#/team/SKG3mSQb/space/4W7YLcLr/page/6kuCkAvd |
|
|||
|
|
| 代码编写规范 | https://ones.cisdigital.cn/wiki/#/team/SKG3mSQb/space/4W7YLcLr/page/TxT1tqxu |
|
|||
|
|
| 多语言开发规范 | https://ones.cisdigital.cn/wiki/#/team/SKG3mSQb/space/4W7YLcLr/page/QZwe31Qn |
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## ⚙️ 环境配置
|
|||
|
|
|
|||
|
|
### NPM 配置
|
|||
|
|
```bash
|
|||
|
|
npm config set registry http://nexus.cisdigital.cn/repository/npm/
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### 开发账号
|
|||
|
|
- **账号**: `cisdi_jbb`
|
|||
|
|
- **密码**: `Vf8DprZ!Pd`
|
|||
|
|
|
|||
|
|
### 环境地址
|
|||
|
|
|
|||
|
|
| 环境名称 | 简称 | 地址 |
|
|||
|
|
|---------|------|------|
|
|||
|
|
| 开发环境 | dev | https://dsep-dev.minmetals.com.cn/portal/signin |
|
|||
|
|
| 测试环境 | qa | https://dsep-test.minmetals.com.cn/portal/signin |
|
|||
|
|
| 预发环境 | pre | https://dsep-pre.minmetals.com.cn/portal/signin |
|
|||
|
|
| 宠物环境 | pet | https://dsep-pet.minmetals.com.cn/portal/signin |
|
|||
|
|
| 演示环境 | demo | https://dsep-demo.minmetals.com.cn/portal/signin |
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## 🔨 构建打包
|
|||
|
|
|
|||
|
|
### 打包地址
|
|||
|
|
https://poseidon.cisdigital.cn/app/devops/apps/detail/build?appId=15322&project=76&product=683
|
|||
|
|
|
|||
|
|
> 账号同 WiFi 账号
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## 🌐 Host 配置
|
|||
|
|
|
|||
|
|
将以下内容添加到系统 hosts 文件中(Mac/Linux: `/etc/hosts`,Windows: `C:\Windows\System32\drivers\etc\hosts`):
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
10.201.161.55 dsep-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 dsep-test.minmetals.com.cn
|
|||
|
|
10.201.161.55 dsep-base-test.minmetals.com.cn
|
|||
|
|
10.201.161.55 dsep-pet.minmetals.com.cn
|
|||
|
|
10.201.161.55 dsep-pre.minmetals.com.cn
|
|||
|
|
10.201.161.55 poseidon-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 mastergo.minmetals.com.cn
|
|||
|
|
10.201.161.55 dsep-demo.minmetals.com.cn
|
|||
|
|
10.201.161.55 dev-wps.minmetals.com.cn
|
|||
|
|
10.201.161.55 component-doc.minmetals.com.cn
|
|||
|
|
10.201.161.55 poseidon-fss.minmetals.com.cn
|
|||
|
|
10.201.161.55 cap-fss-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 ai-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 ai-fss-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 financial-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 contract-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 travel-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 asset-dev.minmetals.com.cn
|
|||
|
|
10.201.161.55 cap-fss-pet.minmetals.com.cn
|
|||
|
|
10.201.161.55 ai-pet.minmetals.com.cn
|
|||
|
|
10.201.161.55 ai-fss-pet.minmetals.com.cn
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## 📝 快速开始
|
|||
|
|
|
|||
|
|
1. **配置 NPM 源**: 执行 NPM 配置命令
|
|||
|
|
2. **配置 Hosts**: 将 Host 配置添加到系统文件
|
|||
|
|
3. **克隆项目**: 使用 Git 地址克隆代码
|
|||
|
|
4. **安装依赖**: 运行 `pnpm install`
|
|||
|
|
5. **启动开发**: 根据项目启动命令运行
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
> 文档生成时间: 2026-05-22
|
|||
|
|
> 如有更新,请联系项目维护人员
|