Files
gridpilot.gg/apps/website/.env.example
2025-12-02 19:44:18 +01:00

31 lines
1.1 KiB
Plaintext

# GridPilot Website Environment Variables
# Application Mode
# Controls whether the site is in pre-launch or post-launch mode
# Valid values: "pre-launch" | "post-launch"
# Default: "pre-launch" (if not set)
GRIDPILOT_MODE=pre-launch
# For client-side mode detection (must match GRIDPILOT_MODE)
# Note: NEXT_PUBLIC_ prefix exposes this to the browser
NEXT_PUBLIC_GRIDPILOT_MODE=pre-launch
# Vercel KV (for email signups and rate limiting)
# Get these from: https://vercel.com/dashboard -> Storage -> KV
# OPTIONAL in development (uses in-memory fallback)
# REQUIRED in production for persistent data
# KV_REST_API_URL=your_kv_rest_api_url_here
# KV_REST_API_TOKEN=your_kv_rest_api_token_here
# Site URL (for metadata and OG tags)
NEXT_PUBLIC_SITE_URL=https://gridpilot.com
# Discord Community
# Discord invite URL for the community CTA
# Get this from: Discord Server Settings -> Invites -> Create Invite
# Example: https://discord.gg/your-invite-code
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/your-invite-code
# Example for post-launch mode:
# GRIDPILOT_MODE=post-launch
# NEXT_PUBLIC_GRIDPILOT_MODE=post-launch