feat: professionalize control plane and standalone delivery
This commit is contained in:
@ -7,10 +7,21 @@
|
||||
- `cookies.json`
|
||||
- `upload_config.json`
|
||||
- `biliup`
|
||||
- `logs/api.log`
|
||||
- `logs/worker.log`
|
||||
- `logs/api.log.1` ~ `logs/api.log.5`
|
||||
- `logs/worker.log.1` ~ `logs/worker.log.5`
|
||||
|
||||
可通过以下命令从父项目导入当前可用版本:
|
||||
可通过以下命令把当前机器上已有版本复制到这里:
|
||||
|
||||
```bash
|
||||
cd /home/theshy/biliup/biliup-next
|
||||
./.venv/bin/biliup-next sync-legacy-assets
|
||||
```
|
||||
|
||||
如果你是在新机器首次初始化,`setup.sh` 会在缺失时自动生成:
|
||||
|
||||
- `cookies.json` <- `cookies.example.json`
|
||||
- `upload_config.json` <- `upload_config.example.json`
|
||||
|
||||
它们只用于占位,能保证项目进入“可配置、可 doctor”的状态,但不代表上传链路已经可用。
|
||||
|
||||
9
runtime/cookies.example.json
Normal file
9
runtime/cookies.example.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"cookie_info": {
|
||||
"cookies": []
|
||||
},
|
||||
"token_info": {
|
||||
"access_token": "",
|
||||
"refresh_token": ""
|
||||
}
|
||||
}
|
||||
5
runtime/upload_config.example.json
Normal file
5
runtime/upload_config.example.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"line": "AUTO",
|
||||
"limit": 3,
|
||||
"threads": 3
|
||||
}
|
||||
Reference in New Issue
Block a user