Skip to content

Commit

Permalink
Make clarifications about config file in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mxpv authored Dec 12, 2019
1 parent fe02f83 commit bb0fb99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bb0fb99

Please sign in to comment.