-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 1.88 KB
/
.env.example
File metadata and controls
42 lines (35 loc) · 1.88 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
# Anode Environment Variables
#
# For local development, copy this file to `.env` and adjust as needed.
# Most required variables are automatically set with sensible defaults in development mode.
# For production builds, see .env.production.example
# ===== Optional Configuration =====
# Enable LiveStore Devtools
# Known to not work in Ubuntu 24 on Apple Silicon (segfault during `pnpm run dev:web`). Disabled by default.
# If running `pnpm run dev:web`, after modifying, you want to wait for the page to auto-refresh, close and reopen Chrome devtools for the change to take effect.
# ENABLE_LIVESTORE_DEVTOOLS=false
# Custom runtime command
# Use local development with runt repo:
# VITE_RUNTIME_COMMAND="deno run --allow-all --unstable-broadcast-channel --env-file=../anode/.env ../runt/packages/pyodide-runtime-agent/src/mod.ts"
#
# Use published JSR package (default):
# VITE_RUNTIME_COMMAND="deno run --unstable-broadcast-channel --allow-all --env-file=./.env jsr:@runt/pyodide-runtime-agent"
# Open browser in incognito mode for development
# LiveStore docs recommend this: https://docs.livestore.dev/reference/platform-adapters/web-adapter/#best-practices
# ANODE_OPEN_INCOGNITO=1
# Development server port (default: 5173)
# ANODE_DEV_SERVER_PORT=5173
# Runtime logging configuration
# RUNT_LOG_LEVEL=ERROR
# RUNT_DISABLE_CONSOLE_LOGS=false
# ===== Auto-configured in Development Mode =====
# The following variables are automatically set by vite-plugins/env-validation.ts
# when running in development mode. You can override them here if needed:
#
# VITE_AUTH_URI (default: http://localhost:8787/local_oidc)
# VITE_AUTH_CLIENT_ID (default: local-anode-client)
# VITE_AUTH_REDIRECT_URI (default: http://localhost:5173/oidc)
# VITE_LIVESTORE_SYNC_URL (default: ws://localhost:8787)
# VITE_IFRAME_OUTPUT_URI (default: http://localhost:8000)
#
# Note: Production builds will fail if these aren't explicitly set.