feat: init project.

This commit is contained in:
Ivan Li
2021-04-17 13:54:26 +08:00
commit 7b715e807f
53 changed files with 14725 additions and 0 deletions

33
docs/ci-cd.md Normal file
View File

@@ -0,0 +1,33 @@
# CI/CD 流程
0. 准备
- project information
- commit hash
1. checkout
2. install dependencies
3. run test script
5. run deploy script
6. clear workspace
## 流水线任务单元描述
```json
{
"version": 1,
"unit": {
"install-dependencies": {
"script": "npm ci"
},
"test": {
"script": "npm test"
},
"build": {
"script": "npm build"
},
"deploy": {
"script": [
"npm build"
]
}
}
}
```

10
docs/development-notes.md Normal file
View File

@@ -0,0 +1,10 @@
# Fennec CI/CD 工具开发手记
## 前言
这是 Fennec 后端项目开发手记,用于记录开发过程中遇到的知识点、难点、思路和解决方案。
## Git Repository 操作
### 获取 git 远程仓库信息流程
1. `git init` // 初始化一个本地 git 仓库。
2. `git remote add <name> <address>` // 添加远程仓库
3. `git fetch` // 获取远程仓库信息