Ptt-official-app/Ptt-backend

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

Closed

#15 opened on Jan 28, 2021

 (11 comments) (1 reaction) (0 assignees)Go (65 forks)auto 404
documentationhelp wanted

Repository metrics

Stars
 (211 stars)
PR merge metrics
 (PR metrics pending)

Description

我遇到了一個問題, 在 執行程式時缺少許多 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

Contributor guide