From e599ce93753e982029833efe77f0a35f881a5f3f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 1 Aug 2021 20:27:04 +0200 Subject: [PATCH] add env example --- .envexample | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .envexample diff --git a/.envexample b/.envexample new file mode 100644 index 0000000..9e0ff7a --- /dev/null +++ b/.envexample @@ -0,0 +1,7 @@ +TOKEN_DISCORD= +TOKEN_GENIUS= +TOKEN_REDDIT_CLIENT_ID= +TOKEN_REDDIT_CLIENT_SECRET= +TOKEN_REDDIT_USER_AGENT= +TIMEZONE= +PREFIX= diff --git a/README.md b/README.md index b5309cc..b1e1af0 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,6 @@ To find Genius token, go to [this site](https://genius.com/api-clients), `login - Using SQLite for the database. ## __Launching locally__ -If you want to run it without Docker, create an .env file to store variables in the root folder. +If you want to run it without Docker, create an .env file to store variables in the root folder (there is an example [here](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/.envexample). Install ffmpeg by doing `sudo apt install ffmpeg` and all the requirements by doing `python3 -m pip install -r requirements.txt` Simply run `python3 main.py` inside the `src` folder to launch the bot in the repo folder.