legacy-code-challenge-v2 / .env.example
refaelz's picture
Deploy updated challenge app to HF Space v2
5f3b513
Raw History Blame Contribute Delete
1.58 kB
# Legacy Code Simulator - Environment Variables
# Add your OpenAI API key below
OPENAI_API_KEY=
GROQ_API_KEY=
AGENT_MODEL=gpt-4o
# Intel proxy settings (uncomment when on Intel network)
# http_proxy=http://proxy-iil.intel.com:912
# https_proxy=http://proxy-iil.intel.com:912
# no_proxy=localhost,127.0.0.1
# Optional: Google Sheets Integration
# Get Sheet ID from URL: https://docs.google.com/spreadsheets/d/{SHEET_ID}/edit
# GOOGLE_SHEET_ID=your_google_sheet_id_here
# Optional: Google Drive Backup
# Get Folder ID from URL: https://drive.google.com/drive/folders/{FOLDER_ID}
# GOOGLE_DRIVE_FOLDER_ID=your_drive_folder_id_here
# Optional: Supabase submissions storage
SUPABASE_URL=
SUPABASE_SECRET_KEY=
# Optional: Google Sheets service account (JSON string)
GOOGLE_SERVICE_ACCOUNT_JSON=
# Optional: GitHub submissions backup
SUBMISSIONS_REPO_URL=
SUBMISSIONS_GIT_TOKEN=
# Optional: Google OAuth for local development
GOOGLE_OAUTH_CLIENT_ID=
GOOGLE_OAUTH_CLIENT_SECRET=
# Optional: Hugging Face OAuth for local sign-in
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
OAUTH_REDIRECT_BASE_URL=http://localhost:7860
# Course role and authoring policy (server-side only)
# Use the same stable course ID in every backend serving this course.
COURSE_ID=
# Comma-separated verified identities in provider:OIDC-subject form.
COURSE_INSTRUCTOR_IDENTITIES=
# Comma-separated canonical public GitHub repository URLs approved for authoring.
COURSE_APPROVED_REPOSITORIES=
# Local-only controls; DEV_DIAGNOSTICS_ENABLED should normally stay off.
DEV_AUTH_ENABLED=1
DEV_DIAGNOSTICS_ENABLED=0