-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 新增使用 `loguru` 编写的 logger - 新增使用 `tqdm` 编写的进度条 - 重构 `config.py` - 修正了多处工地英语 - 将 `print` 改为 `logger` - 更新 README 以适应新的 config 文件 - 修改 `requirements.txt` - 修改 Dashboard 的部分样式 - 更新 config.*.example - 更新配置文件语言至 YAML - 更新 `Dockerfile` 以适配新的版本 - 更新 `.gitignore`
- Loading branch information
Showing
14 changed files
with
86 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<<<<<<< HEAD | ||
container/.ssl/ | ||
container/bmclapi/ | ||
container/cache/ | ||
container/config/ | ||
container/__pycache__/ | ||
.vscode/ | ||
.lh/ | ||
======= | ||
config/config.properties | ||
__pycache__ | ||
.venv | ||
>>>>>>> 1821e9a699e53437109088d3d8cf4bb4a1bf9a50 | ||
logs | ||
config/config.yaml | ||
bmclapi | ||
bmclapi_dashboard | ||
cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
byoc: '' | ||
cluster_id: '' | ||
cluster_secret: '' | ||
download_threads: 64 | ||
timeout: 30 | ||
web_host: '' | ||
web_port: 8800 | ||
web_publicport: 8800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from loguru import logger | ||
from pathlib import Path | ||
|
||
logger.add(Path("./logs/{time}.log"), rotation="3 hours") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.