Skip to content

Commit 8292591

Browse files
committed
chore: consolidate environment configuration by removing .env.development.example and updating .env.example
1 parent 85835e3 commit 8292591

3 files changed

Lines changed: 25 additions & 32 deletions

File tree

.env.development.example

Lines changed: 0 additions & 19 deletions
This file was deleted.

.env.example

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
# Local Environment Variables (Secrets)
2-
# Copy this file to .env.local and fill in your actual values
3-
# .env.local is gitignored and should NEVER be committed
2+
# Copy this file to .env and fill in your actual values
3+
# .env is gitignored and should NEVER be committed
44

55
# Discord Bot Token & Application ID (REQUIRED)
66
# Get this from: https://discord.com/developers/applications
77
DISCORD_TOKEN=your-bot-token-here
88
CLIENT_ID=your-bot-application-id
99

10-
# Optional: Override any public config values for local testing
11-
# Uncomment and modify as needed:
12-
# SERVER_ID=override-server-id
13-
# CLIENT_ID=override-client-id
14-
# GUIDES_CHANNEL_ID=override-channel-id
10+
# Override any public config values for local testing
11+
12+
# Discord Server ID (your dev server)
13+
SERVER_ID=your-server-id
14+
15+
# Channel IDs (from your dev server)
16+
GUIDES_CHANNEL_ID=your-guide-channel-id
17+
REPEL_LOG_CHANNEL_ID=your-repel-log-channel-id
18+
19+
# Role IDs (from your dev server)
20+
REPEL_ROLE_ID=your-repel-role-id
21+
MODERATORS_ROLE_IDS=your-moderator-role-id
22+
23+
# Other
24+
GUIDES_TRACKER_PATH=guides-tracker.json

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ yarn-debug.log*
1212
yarn-error.log*
1313

1414
# Env files
15-
.env.development
16-
.env.local
17-
.env.*.local
18-
# Allow environment-specific configs (public, non-secret)
15+
.env
16+
.env.*
17+
18+
# Public config (committed to repo)
1919
!.env.production
2020
!.env.example
21-
!.env.development.example
2221

2322
# guides tracker
24-
guides-tracker.json
23+
guides-tracker.json
24+
25+
# Docker
26+
docker-compose.yml

0 commit comments

Comments
 (0)