-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
77 lines (60 loc) · 1.97 KB
/
.env.example
File metadata and controls
77 lines (60 loc) · 1.97 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
69
70
71
72
73
74
75
76
77
# Developer Portfolio Environment Configuration
# Copy this file to .env.local and adjust values as needed
# Application Information
# ======================
# Title displayed in browser tab and metadata
VITE_APP_TITLE=Developer Portfolio
# Base URL for API requests (if applicable)
VITE_API_BASE_URL=https://api.example.com
# Server Configuration
# ===================
# Port for production server
PORT=3001
# Port for development server
VITE_DEV_SERVER_PORT=3000
# Base URL for the site (used for path-based routing)
# In production, set to your domain (e.g., https://derekmackley.com)
# In development, set to http://localhost:port
VITE_BASE_URL=http://localhost:3001
# Preview server configuration (for production builds)
PREVIEW_PORT=4173
PREVIEW_HOST=0.0.0.0
# CORS configuration
# Comma-separated list of allowed origins for development
DEV_CORS_ORIGIN=http://localhost:3000,http://127.0.0.1:3000
DEV_CORS_CREDENTIALS=false
# Comma-separated list of allowed origins for preview server
CORS_ORIGIN=*
CORS_CREDENTIALS=false
# Server options
STRICT_PORT=false
# Feature Flags
# =============
# Enable/disable Progressive Web App features
# Set to 'true' to enable, 'false' to disable
VITE_ENABLE_PWA=true
# Enable/disable dark mode
# Set to 'true' to enable, 'false' to disable
VITE_FEATURE_DARK_MODE=false
# Enable/disable animations
# Set to 'true' to enable, 'false' to disable
VITE_FEATURE_ANIMATIONS=true
# Enable/disable performance monitoring
# Set to 'true' to enable, 'false' to disable
VITE_ENABLE_PERFORMANCE_MONITORING=true
# API Integration
# ==============
# GitHub personal access token for API requests
# Required for higher rate limits and private repo access
VITE_GITHUB_TOKEN=
# Analytics
# =========
# Google Analytics tracking ID
# Leave empty to disable analytics
VITE_GA_TRACKING_ID=
# Build Configuration
# ==================
# Set to 'true' to force dependency optimization (for debugging)
FORCE_OPTIMIZE=false
# Set to 'true' to enable bundle size analysis
ANALYZE=false