Add dev.sh for running server + client in parallel on macOS, and prod.sh for building and deploying in production. The Rust server now serves static client files with SPA fallback, eliminating the need for Vite in production. Also adds missing BRAVE_API_KEY to .env.example. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
357 B
Plaintext
19 lines
357 B
Plaintext
# Server
|
|
BIND_ADDR=0.0.0.0:3001
|
|
RUST_LOG=info
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite:chat.db?mode=rwc
|
|
|
|
# Auth
|
|
JWT_SECRET=change-me-to-a-random-secret
|
|
|
|
# OpenRouter API
|
|
OPENROUTER_API_KEY=sk-or-v1-your-key-here
|
|
|
|
# Brave Search API
|
|
BRAVE_API_KEY=your-brave-api-key-here
|
|
|
|
# Production: path to built client files (default: ../client/dist)
|
|
# STATIC_DIR=../client/dist
|