add env example
This commit is contained in:
parent
d3c609f21b
commit
e599ce9375
2 changed files with 8 additions and 1 deletions
7
.envexample
Normal file
7
.envexample
Normal file
|
@ -0,0 +1,7 @@
|
|||
TOKEN_DISCORD=
|
||||
TOKEN_GENIUS=
|
||||
TOKEN_REDDIT_CLIENT_ID=
|
||||
TOKEN_REDDIT_CLIENT_SECRET=
|
||||
TOKEN_REDDIT_USER_AGENT=
|
||||
TIMEZONE=
|
||||
PREFIX=
|
|
@ -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.
|
||||
|
|
Reference in a new issue