brainstorm-ui / .env.example
hsila's picture
Migrate from JSONL files to Supabase database with secure RLS policies
2451d08
# Your Supabase Project URL
# Example: https://your-project-id.supabase.co
SUPABASE_URL=your_supabase_project_url
# Your Supabase Anonymous/Public Key
SUPABASE_ANON_KEY=your_supabase_anon_key
# Your Supabase Service Role Key (for migrations/admin operations)
# WARNING: Keep this key secure and never expose it in client-side code
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# =================================================================
# SETUP INSTRUCTIONS:
# =================================================================
# 1. Create a Supabase project at https://supabase.com
# 2. Go to Settings β†’ API in your project dashboard
# 3. Copy the Project URL and anon key
# 4. Replace the placeholder values above
# 5. Save this file as .env (remove the .example extension)
# 6. Run the SQL queries from README.md to set up your database
# 7. For Hugging Face Spaces, add these as regular environment variables
# (not secrets) with the same names: SUPABASE_URL, SUPABASE_ANON_KEY
# =================================================================