From bb0fb996079b6cd5752f5dca0f3dc500c018e4d2 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Thu, 12 Dec 2019 11:42:00 -0800 Subject: [PATCH] Make clarifications about config file in README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d14fc5b3..f6ee1cb4 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,16 @@ In order to query YouTube or Vimeo API you have to obtain an API token first. ## Configuration example +You need to create a configuration file (for instance `config.toml`) and specify the list of feeds that you're going to host. +Here is an example how configuration might look like: + ```toml [server] port = 8080 data_dir = "/path/to/data/directory" [tokens] -youtube = "{YOUTUBE_API_TOKEN}" +youtube = "{YOUTUBE_API_TOKEN}" # Tokens from `Access tokens` section vimeo = "{VIMEO_API_TOKEN}" [feeds]