Files
biliup-next/runtime/README.md

28 lines
750 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# runtime
这个目录用于存放 `biliup-next` 的本地运行资产。
推荐放在这里的内容:
- `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的状态但不代表上传链路已经可用