Fix: Better error handling for missing Google OAuth credentials
- Add .env.example with required environment variables - Add helpful warning message when google_client_id/secret are missing - Update steps_to_run.md with detailed setup instructions - Include instructions for creating Google OAuth credentials Addresses #9
This commit is contained in:
12
server/.env.example
Normal file
12
server/.env.example
Normal file
@@ -0,0 +1,12 @@
|
||||
# Flask Configuration
|
||||
FLASK_ENV=dev
|
||||
FLASK_APP=webserver.py
|
||||
SECRET_KEY=your-secret-key-here
|
||||
|
||||
# Google OAuth Credentials (for user authentication)
|
||||
# Get these from https://console.cloud.google.com/apis/credentials
|
||||
google_client_id=your-google-client-id
|
||||
google_client_secret=your-google-client-secret
|
||||
|
||||
# OpenAI API Key (users can also add this in the UI)
|
||||
# OPENAI_API_KEY=sk-your-openai-api-key
|
||||
Reference in New Issue
Block a user