-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (35 loc) · 1.2 KB
/
Copy path.env.example
File metadata and controls
46 lines (35 loc) · 1.2 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
# ClawGame Environment Configuration
# Copy this file to .env and fill in your values
# ── OpenRouter AI Integration ──
# Get your API key from https://openrouter.ai/keys
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Enable/disable real AI generation
# Set to 'true' to use real OpenRouter API, 'false' for mock responses
USE_REAL_AI=false
# ── Server Configuration ──
# API server port (default: 3000)
PORT=3000
# Web server port (default: 5173)
WEB_PORT=5173
# ── Data Directory ──
# Where projects, assets, and exports are stored
PROJECTS_DIR=./data/projects
ASSETS_DIR=./data/assets
EXPORTS_DIR=./data/exports
# ── CORS Configuration ──
# Comma-separated list of allowed origins
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# ── Logging ──
# Log level: error, warn, info, debug
LOG_LEVEL=info
# ── Export Options ──
# Maximum export file size in bytes (default: 50MB)
MAX_EXPORT_SIZE=52428800
# ── Rate Limiting ──
# Requests per minute (default: 60)
RATE_LIMIT_PER_MINUTE=60
# ── Development ──
# Enable debug mode (shows more verbose logs)
DEBUG=false
# Enable source maps in production (not recommended for security)
SOURCE_MAPS=false