-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) · 1.46 KB
/
Copy path.env.example
File metadata and controls
40 lines (33 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ============================================
# AUTHENTICATION: Choose ONE method
# ============================================
# Option 1: Service Account (Recommended for CI/CD / Automated Sync)
# 1. Create service account in Google Cloud Console
# 2. Download JSON key file
# 3. Share your Drive folder with the service account email
# 4. Set this variable to the entire JSON file contents
# Note: For GitHub Actions, add this as a repository secret
GOOGLE_SERVICE_ACCOUNT_JSON=
# Option 2: OAuth (For Local Development)
# Get these from: https://console.cloud.google.com/apis/credentials
# Create OAuth 2.0 Client ID with type "Desktop app"
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI=http://localhost:3000/oauth2callback
# ============================================
# REQUIRED SETTINGS
# ============================================
# Google Drive Folder ID (Required)
# Get this from the Drive folder URL: https://drive.google.com/drive/folders/{FOLDER_ID}
GOOGLE_DRIVE_FOLDER_ID=your-folder-id-here
# ============================================
# OPTIONAL SETTINGS
# ============================================
# Google Analytics (Optional)
# Get your measurement ID from: https://analytics.google.com/
# Format: G-XXXXXXXXXX
PUBLIC_GOOGLE_ANALYTICS_ID=
# Debug Logging (Optional)
# Set to 'true' or '1' to enable detailed debug logging during sync
# Useful for troubleshooting sync issues
DEBUG=false