first implé
This commit is contained in:
45
CLAUDE.md
45
CLAUDE.md
@@ -1 +1,44 @@
|
||||
@AGENTS.md
|
||||
# Developer Guide — Will & Representation
|
||||
|
||||
This document outlines the standard commands for building, running, and managing the Schopenhauer Chat application.
|
||||
|
||||
## Development Commands
|
||||
|
||||
- **Install dependencies**:
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
- **Run local development server**:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
- **Build production bundle**:
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
- **Run linter**:
|
||||
```bash
|
||||
npm run lint
|
||||
```
|
||||
|
||||
## Docker Commands
|
||||
|
||||
- **Build and start the container in background**:
|
||||
```bash
|
||||
docker compose up --build -d
|
||||
```
|
||||
- **Inspect container logs**:
|
||||
```bash
|
||||
docker logs -f schopenhauer-chat
|
||||
```
|
||||
- **Stop and remove container**:
|
||||
```bash
|
||||
docker compose down
|
||||
```
|
||||
|
||||
## Environment Setup
|
||||
Ensure `.env.local` exists in the root directory with:
|
||||
```env
|
||||
GEMINI_API_KEY=your_key_here
|
||||
GEMINI_MODEL=gemini-3.1-flash
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user