3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 01:05:02 +00:00

Improve documentation around bot setup

Adding comments and suitable defaults to the .env files
This commit is contained in:
Bluenix 2021-06-14 00:16:24 +02:00
parent 3ddfb3b65a
commit c9fa56de2c
No known key found for this signature in database
GPG key ID: 1C1ED07E6FC8AA48
5 changed files with 71 additions and 39 deletions

View file

@ -1,10 +1,16 @@
PORT=
# The port that the API server should run on
PORT=8800
# Credentials of the Discord Application: https://discord.com/developers/applications
CLIENT_ID=
CLIENT_SECRET=
OAUTH_CALLBACK_URL=
DASHBOARD_URL=
DB_HOST=
# The callback url from the Oauth2 flow, needs to be added as a redirect
OAUTH_CALLBACK_URL="http://localhost:8800/auth/oauth-callback"
# URL back to the dashboard
DASHBOARD_URL="http://localhost:1234"
# MariaDB credentials for use by the API server
DB_HOST="localhost"
DB_USER=
DB_PASSWORD=
DB_DATABASE=
STAFF=
# List of user IDs
STAFF=["123"]

View file

@ -1,5 +1,7 @@
# Discord bot token found at https://discord.com/developers/applications/
TOKEN=
DB_HOST=
# MariaDB credentials for use by the bot itself
DB_HOST="localhost"
DB_USER=
DB_PASSWORD=
DB_DATABASE=