mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-09 10:59:47 +00:00
Update .env.example with comprehensive CLI command documentation and clearer DATABASE_PATH configuration comments. Enhance README.md with restructured installation guide featuring new cloudcli commands, detailed PM2 background service setup instructions, and improved organization of global installation benefits and restart procedures. Add CLI command reference showing cloudcli start, status, help, and version commands. Expand PM2 section with separate subsections for installation, service startup, and auto-start configuration.
41 lines
1.4 KiB
Plaintext
Executable File
41 lines
1.4 KiB
Plaintext
Executable File
# Claude Code UI Environment Configuration
|
|
# Only includes variables that are actually used in the code
|
|
#
|
|
# TIP: Run 'cloudcli status' to see where this file should be located
|
|
# and to view your current configuration.
|
|
#
|
|
# Available CLI commands:
|
|
# claude-code-ui - Start the server (default)
|
|
# cloudcli start - Start the server
|
|
# cloudcli status - Show configuration and data locations
|
|
# cloudcli help - Show help information
|
|
# cloudcli version - Show version information
|
|
|
|
# =============================================================================
|
|
# SERVER CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Backend server port (Express API + WebSocket server)
|
|
#API server
|
|
PORT=3001
|
|
#Frontend port
|
|
VITE_PORT=5173
|
|
|
|
# Uncomment the following line if you have a custom claude cli path other than the default "claude"
|
|
# CLAUDE_CLI_PATH=claude
|
|
|
|
# =============================================================================
|
|
# DATABASE CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Path to the authentication database file
|
|
# This is where user credentials, API keys, and tokens are stored.
|
|
#
|
|
# To use a custom location:
|
|
# DATABASE_PATH=/path/to/your/custom/auth.db
|
|
#
|
|
# Claude Code context window size (maximum tokens per session)
|
|
# Note: VITE_ prefix makes it available to frontend
|
|
VITE_CONTEXT_WINDOW=160000
|
|
CONTEXT_WINDOW=160000
|