forked from scratchfoundation/scratch-editor
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
66 lines (51 loc) · 2.32 KB
/
.env.example
File metadata and controls
66 lines (51 loc) · 2.32 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
# Smalruby3 Editor Environment Variables
# Copy this file to .env and adjust values for local development
# Gemini Relay Configuration (スモウルビー先生)
# See infra/smalruby-gemini-relay/ for deployment details
# Deploy the relay to AWS and set the endpoint URL here
GEMINI_RELAY_ENDPOINT=https://your-api-id.execute-api.ap-northeast-1.amazonaws.com
# Google API Configuration (Google Drive)
# See packages/scratch-gui/docs/google-api-setup.md for setup instructions
# Google OAuth 2.0 Client ID (Web Application)
# Example: 123456789012-abcdefghijklmnopqrstuvwxyz123456.apps.googleusercontent.com
GOOGLE_CLIENT_ID=your-client-id-here.apps.googleusercontent.com
# Google API Key (for Picker API)
# Example: AIzaSyAbCdEfGhIjKlMnOpQrStUvWxYz1234567
GOOGLE_API_KEY=your-api-key-here
# Google Tag Manager (Analytics)
# GTM_ID: Google Tag Manager container ID (format: GTM-XXXXXXX)
# GTM_ENV_AUTH: Environment-specific parameters for staging/preview (leave empty for production)
# Format: >m_auth=xxx>m_preview=env-00>m_cookies_win=x
# Get from: GTM -> Admin -> Environments -> (environment) -> Get Snippet
GTM_ID=
GTM_ENV_AUTH=
# Mesh V2 Extension Configuration
# See packages/scratch-vm/src/extensions/scratch3_mesh_v2/ for implementation details
# AppSync GraphQL API Endpoint (Production)
# Example: https://xxxxx.appsync-api.ap-northeast-1.amazonaws.com/graphql
MESH_GRAPHQL_ENDPOINT=https://example.appsync-api.ap-northeast-1.amazonaws.com/graphql
# AppSync API Key (Production)
# Example: da2-xxxxx
MESH_API_KEY=da2-your-api-key
# AWS Region (Production)
# Example: ap-northeast-1
MESH_AWS_REGION=ap-northeast-1
# Data update interval in milliseconds
# Default: 1000
MESH_DATA_UPDATE_INTERVAL_MS=1000
# Event batch interval in milliseconds
# Default: 1000
MESH_EVENT_BATCH_INTERVAL_MS=1000
# Periodic data sync interval in milliseconds
# Default: 15000 (15 seconds)
MESH_PERIODIC_DATA_SYNC_INTERVAL_MS=15000
# Test mode: Simulate network filter blocking (HTTP 503)
# Set to "true" to simulate i-Filter or proxy blocking for testing network filter error detection
# Default: false (disabled)
# MESH_NETWORK_FILTER=true
# Debug logging (comma-separated categories, e.g., scratch-vm:*)
DEBUG=
# Development server port
# Default: 8601 (scratch-gui), 8073 (scratch-vm)
# Note: scratch-gui uses 8601 by default
PORT=8601