From 9e11b5fb675a8caad028133cea6ff578eaa3288e Mon Sep 17 00:00:00 2001 From: kzndotsh Date: Sun, 25 Aug 2024 06:15:22 +0000 Subject: [PATCH] refactor(.env.example): restructure and categorize environment variables for better readability and understanding feat(.env.example): add comments to clarify usage of each environment variable for better user guidance style(.env.example): remove unused SUPABASE_KEY variable to clean up the code --- .env.example | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.env.example b/.env.example index b5134bd..ab715c7 100644 --- a/.env.example +++ b/.env.example @@ -1,20 +1,27 @@ +# +# Required +# + +# If in production mode: + +# DEV=False PROD_DATABASE_URL="" -# PROD_SUPABASE_DB_PASSWORD="" PROD_TOKEN="" -DEV=True +# If in development mode: + +# DEV=True DEV_DATABASE_URL="" -# DEV_SUPABASE_DB_PASSWORD="" DEV_TOKEN="" -TZ="UTC" -DISCORD_GUILD= +# +# Optional +# -SUPABASE_KEY="" SENTRY_URL="" -# PROD_COG_IGNORE_LIST="kick,ban" -# DEV_COG_IGNORE_LIST="mail, git" +PROD_COG_IGNORE_LIST= +DEV_COG_IGNORE_LIST= GITHUB_APP_ID= GITHUB_CLIENT_ID=""