Open
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