From 66a53e4a864f7832ed34238f9c926de5fe559f8a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 17 Mar 2021 21:36:01 +0100 Subject: [PATCH] add how to setup --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 08a7067..1950276 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,19 @@ #### __Setting up__ -docker...in progress... - -env: - -TOKEN_DISCORD="your token discord" -TOKEN_GENIUS="your genius token" -TOKEN_REDDIT_CLIENT_ID="your client id" -TOKEN_REDDIT_CLIENT_SECRET="your client secret" -TOKEN_REDDIT_USER_AGENT="your user agent" +You have to replace `TOKEN_DISCORD`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET` and `TOKEN_REDDIT_USER_AGENT` with your desired values. +With a [docker-compose](docker-compose.yml) or in command line: +``` +docker run -d \ + --name="kassoubot" \ + mylloon/kassoubot \ + --TOKEN_DISCORD="yourValue" \ + --TOKEN_GENIUS="yourValue" \ + --TOKEN_REDDIT_CLIENT_ID="yourValue" \ + --TOKEN_REDDIT_CLIENT_SECRET="yourValue" \ + --TOKEN_REDDIT_USER_AGENT="yourValue" +``` To find reddit tokens, go to [this site](https://www.reddit.com/prefs/apps) and here are the instructions: ![instructions](https://i.imgur.com/tEzYKDA.png)