-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (58 loc) · 2.33 KB
/
.env.example
File metadata and controls
68 lines (58 loc) · 2.33 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Image Upload Utility Configuration
# Copy this file to .env and update with your actual credentials
# ===============================================
# Provider Selection
# ===============================================
# Choose your upload provider: 'cloudfront' or 'cloudinary'
UPLOAD_PROVIDER=cloudinary
# ===============================================
# Cloudinary Configuration (Recommended)
# ===============================================
# Sign up at https://cloudinary.com to get these credentials
# Found in your Cloudinary Dashboard > Settings > API Keys
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
# ===============================================
# AWS CloudFront/S3 Configuration (Alternative)
# ===============================================
# Required for CloudFront provider
# Get these from AWS IAM > Users > Security credentials
AWS_ACCESS_KEY=your_aws_access_key_here
AWS_SECRET_KEY=your_aws_secret_key_here
S3_BUCKET=your-s3-bucket-name
CLOUDFRONT_DOMAIN=your-cloudfront-domain.cloudfront.net
# ===============================================
# AltText.ai Configuration (Optional)
# ===============================================
# AI-powered alt text generation for accessibility and SEO
# Sign up at https://alttext.ai to get API key
ALTTEXT_AI_API_KEY=your_alttext_ai_api_key_here
# Optional: Default keywords for SEO optimization
ALTTEXT_AI_KEYWORDS=product,modern,lifestyle
# Optional: Webhook URL for asynchronous processing
ALTTEXT_AI_WEBHOOK_URL=https://your-domain.com/webhook
# ===============================================
# Quick Setup Guide
# ===============================================
#
# For Cloudinary (Recommended):
# 1. Sign up at https://cloudinary.com
# 2. Go to Dashboard > Settings > Access Keys
# 3. Copy Cloud name, API Key, and API Secret above
# 4. Set UPLOAD_PROVIDER=cloudinary
# 5. Run: python setup.py
#
# For AWS CloudFront:
# 1. Create S3 bucket with public read access
# 2. Create CloudFront distribution pointing to S3
# 3. Create IAM user with S3 permissions
# 4. Copy credentials above
# 5. Set UPLOAD_PROVIDER=cloudfront
# 6. Run: python setup.py
#
# For AltText.ai (Optional):
# 1. Sign up at https://alttext.ai
# 2. Get API key from dashboard
# 3. Add ALTTEXT_AI_API_KEY above
# 4. Run: python setup.py