Files
orion/docs/getting-started/configuration.md
Samir Boulahtit e9253fbd84 refactor: rename Wizamart to Orion across entire codebase
Replace all ~1,086 occurrences of Wizamart/wizamart/WIZAMART/WizaMart
with Orion/orion/ORION across 184 files. This includes database
identifiers, email addresses, domain references, R2 bucket names,
DNS prefixes, encryption salt, Celery app name, config defaults,
Docker configs, CI configs, documentation, seed data, and templates.

Renames homepage-wizamart.html template to homepage-orion.html.
Fixes duplicate file_pattern key in api.yaml architecture rule.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 16:46:56 +01:00

53 lines
1.1 KiB
Markdown

# Configuration Guide
Environment configuration for the Orion API.
## Environment Variables
Create a `.env` file in your project root:
```env
# Database Configuration
DATABASE_URL=sqlite:///./orion.db
# For PostgreSQL: DATABASE_URL=postgresql://user:password@localhost:5432/orion
# Security
JWT_SECRET_KEY=your-super-secret-key-change-in-production
JWT_EXPIRE_HOURS=24
# API Settings
API_HOST=0.0.0.0
API_PORT=8000
DEBUG=True
# Rate Limiting
RATE_LIMIT_ENABLED=True
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=3600
```
## Configuration Options
| Variable | Description | Default | Required |
|----------|-------------|---------|----------|
| `DATABASE_URL` | Database connection string | SQLite | Yes |
| `JWT_SECRET_KEY` | JWT signing key | - | Yes |
| `DEBUG` | Enable debug mode | False | No |
## Environment-Specific Setup
### Development
```env
DEBUG=True
DATABASE_URL=sqlite:///./orion.db
```
### Production
```env
DEBUG=False
DATABASE_URL=postgresql://user:password@host:5432/db
JWT_SECRET_KEY=production-secret-key
```
*This guide is under development. See [Installation](installation.md) for complete setup instructions.*