Ptt-official-app/Ptt-backend

提案: 在 README.md 新增 Quick Start 教學

已关闭

#15 创建于 2021年1月28日

 (11 条评论) (1 个反应) (0 位负责人)Go (65 个派生)auto 404
documentationhelp wanted

仓库指标

星标
 (211 个星标)
PR 合并指标
 (平均合并 11分钟) (30 天内合并 9 个 PR)

描述

我遇到了一個問題, 在 執行程式時缺少許多 config file, 但我不知道該看哪個文件來了解他們的命名規則,以及該如何設定這些 config file。

$ ./Ptt-backend
2021/01/28 20:25:34 server start
2021/01/28 20:25:34 load default config
2021/01/28 20:25:34 apply config
2021/01/28 20:25:34 read config bbs.home: /home/bbs
2021/01/28 20:25:34 read config networking.listen_port: 8081
2021/01/28 20:25:34 read config security.access_token_private_key
2021/01/28 20:25:34 read config security.access_token_public_key
2021/01/28 20:25:34 read config security.access_token_expires_at: 24h
2021/01/28 20:25:34 load user config
2021/01/28 20:25:34 load custom config error: open config.toml: no such file or directory
2021/01/28 20:25:34 path: /home/bbs/.PASSWDS
2021/01/28 20:25:34 open /home/bbs/.PASSWDS: no such file or directory
2021/01/28 20:25:34 bbs: get user rec error: open /home/bbs/.PASSWDS: no such file or directory
2021/01/28 20:25:34 get user rec error: open /home/bbs/.PASSWDS: no such file or directory
2021/01/28 20:25:34 path: /home/bbs/.BRD
2021/01/28 20:25:34 open /home/bbs/.BRD: no such file or directory
2021/01/28 20:25:34 bbs: get user rec error: open /home/bbs/.BRD: no such file or directory
2021/01/28 20:25:34 get board header error: open /home/bbs/.BRD: no such file or directory
2021/01/28 20:25:34 listen port on 8081

是否能在 README.md 新增能讓程式快速跑起來的教學呢? e.g. docker/compose

贡献者指南