acadflow / deploy-backend /.env.example
Vijayadhith7's picture
Upload 29 files
57a1132 verified
Raw
History Blame Contribute Delete
1.14 kB
# =============================================
# AcadFlow Backend - Environment Variables
# =============================================
# Copy this file as .env and fill in values
# Server Port (Hugging Face default: 7860, we use 5000 since Aura uses 7860)
PORT=5000
# Supabase Configuration
SUPABASE_URL=https://wmmcziautjlelocrprms.supabase.co
SUPABASE_KEY=sb_publishable_G80nBYUkRqC3j2X6sevnnQ_9glfZ1dT
# Google Sheets
SPREADSHEET_ID=1-FuEPAmLyBQFu5V3of6bY6IiF7FWiD1_-QAp0lvLCWY
# NVIDIA NIM API (AI Insights Engine)
NVIDIA_API_KEY=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
NVIDIA_MODEL=meta/llama-3.1-70b-instruct
# Google Service Account Credentials (JSON string)
# For Hugging Face Spaces: Go to Settings → Repository Secrets → Add GOOGLE_CREDS_JSON
# Paste the ENTIRE contents of credentials.json as the value (single line JSON)
# GOOGLE_CREDS_JSON={"type":"service_account","project_id":"...","private_key":"...","client_email":"..."}
# Database (only needed for init-db.js migrations)
# SUPABASE_DB_URL=postgresql://postgres:[YOUR-PASSWORD]@db.wmmcziautjlelocrprms.supabase.co:5432/postgres