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>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Deployment Guide
|
||||
|
||||
This guide covers deploying the Wizamart platform to production environments.
|
||||
This guide covers deploying the Orion platform to production environments.
|
||||
|
||||
!!! tip "New to deployment?"
|
||||
Start with the [Infrastructure Guide](infrastructure.md) for a complete overview of architecture options.
|
||||
@@ -32,7 +32,7 @@ SECRET_KEY=<generate-secure-key>
|
||||
DEBUG=false
|
||||
|
||||
# Database
|
||||
DATABASE_URL=postgresql://user:password@host:5432/wizamart
|
||||
DATABASE_URL=postgresql://user:password@host:5432/orion
|
||||
|
||||
# Security
|
||||
ALLOWED_HOSTS=yourdomain.com,www.yourdomain.com
|
||||
@@ -69,7 +69,7 @@ python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().d
|
||||
|
||||
```bash
|
||||
git clone <repository-url>
|
||||
cd wizamart
|
||||
cd orion
|
||||
|
||||
# Install dependencies
|
||||
uv sync --frozen
|
||||
@@ -192,7 +192,7 @@ services:
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:password@db:5432/wizamart
|
||||
- DATABASE_URL=postgresql://postgres:password@db:5432/orion
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
@@ -201,7 +201,7 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=wizamart
|
||||
- POSTGRES_DB=orion
|
||||
- POSTGRES_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
@@ -223,10 +223,10 @@ Logs are output to stdout in JSON format for production:
|
||||
|
||||
```bash
|
||||
# View logs
|
||||
docker logs -f wizamart-web
|
||||
docker logs -f orion-web
|
||||
|
||||
# Or with systemd
|
||||
journalctl -u wizamart -f
|
||||
journalctl -u orion -f
|
||||
```
|
||||
|
||||
### Metrics
|
||||
@@ -242,10 +242,10 @@ Consider integrating:
|
||||
|
||||
```bash
|
||||
# PostgreSQL backup
|
||||
pg_dump -U postgres wizamart > backup_$(date +%Y%m%d).sql
|
||||
pg_dump -U postgres orion > backup_$(date +%Y%m%d).sql
|
||||
|
||||
# Automated daily backups (cron)
|
||||
0 2 * * * pg_dump -U postgres wizamart | gzip > /backups/wizamart_$(date +\%Y\%m\%d).sql.gz
|
||||
0 2 * * * pg_dump -U postgres orion | gzip > /backups/orion_$(date +\%Y\%m\%d).sql.gz
|
||||
```
|
||||
|
||||
## Rollback Procedure
|
||||
|
||||
Reference in New Issue
Block a user