Implements #10 - .env.example with all required environment variables - vercel.json with CORS headers and region config - docs/DEPLOYMENT.md with full deployment instructions - API key setup guides - Troubleshooting section Closes #10
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
# ===========================================
|
|
# Cutroom Environment Variables
|
|
# ===========================================
|
|
# Copy this file to .env.local and fill in your values
|
|
# Never commit .env.local to version control!
|
|
|
|
# ===========================================
|
|
# Database (Required)
|
|
# ===========================================
|
|
# Vercel Postgres or any PostgreSQL connection string
|
|
DATABASE_URL="postgresql://user:password@host:5432/database?sslmode=require"
|
|
|
|
# ===========================================
|
|
# External APIs (Required for stage execution)
|
|
# ===========================================
|
|
|
|
# OpenAI - Script generation, research synthesis
|
|
OPENAI_API_KEY="sk-..."
|
|
|
|
# ElevenLabs - Voice synthesis
|
|
ELEVENLABS_API_KEY="..."
|
|
ELEVENLABS_VOICE_ID="21m00Tcm4TlvDq8ikWAM" # Default: Rachel
|
|
|
|
# Pexels - Stock footage and images
|
|
PEXELS_API_KEY="..."
|
|
|
|
# ===========================================
|
|
# Storage (Required for production)
|
|
# ===========================================
|
|
# Vercel Blob for storing generated assets
|
|
BLOB_READ_WRITE_TOKEN="vercel_blob_..."
|
|
|
|
# ===========================================
|
|
# Blockchain (Required for token features)
|
|
# ===========================================
|
|
|
|
# Base RPC endpoint
|
|
BASE_RPC_URL="https://mainnet.base.org"
|
|
|
|
# Wallet for token operations (treasury)
|
|
# WARNING: Keep this secure! Use Vercel encrypted env vars
|
|
WALLET_PRIVATE_KEY="0x..."
|
|
|
|
# CUTROOM token address (set after deployment)
|
|
NEXT_PUBLIC_CUTROOM_TOKEN_ADDRESS=""
|
|
|
|
# ===========================================
|
|
# Optional / Development
|
|
# ===========================================
|
|
|
|
# Remotion (video rendering)
|
|
# REMOTION_LICENSE_KEY=""
|
|
|
|
# Analytics (Vercel Analytics auto-configured)
|
|
# VERCEL_ANALYTICS_ID=""
|
|
|
|
# Development mode
|
|
# NODE_ENV="development"
|