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:
2026-02-14 16:46:56 +01:00
parent 34ee7bb7ad
commit e9253fbd84
184 changed files with 1227 additions and 1228 deletions

View File

@@ -28,7 +28,7 @@ cp .env.example .env
# Edit .env with your database configuration
# The default works with docker-compose:
DATABASE_URL=postgresql://wizamart_user:secure_password@localhost:5432/wizamart_db
DATABASE_URL=postgresql://orion_user:secure_password@localhost:5432/orion_db
```
!!! note "PostgreSQL Required"
@@ -140,7 +140,7 @@ make migrate-down
make backup-db
# Delete database and recreate from scratch
del wizamart.db # or drop PostgreSQL database
del orion.db # or drop PostgreSQL database
make migrate-up
```
@@ -148,7 +148,7 @@ make migrate-up
### Development (Docker - Recommended)
```env
DATABASE_URL=postgresql://wizamart_user:secure_password@localhost:5432/wizamart_db
DATABASE_URL=postgresql://orion_user:secure_password@localhost:5432/orion_db
```
- Start with `make docker-up`
- Consistent environment matching production
@@ -156,14 +156,14 @@ DATABASE_URL=postgresql://wizamart_user:secure_password@localhost:5432/wizamart_
### Development (Local PostgreSQL)
```env
DATABASE_URL=postgresql://user:password@localhost:5432/wizamart_dev
DATABASE_URL=postgresql://user:password@localhost:5432/orion_dev
```
- Use if you prefer a local PostgreSQL installation
- Ensure PostgreSQL 15+ is installed
### Production
```env
DATABASE_URL=postgresql://user:password@production-host:5432/wizamart_prod
DATABASE_URL=postgresql://user:password@production-host:5432/orion_prod
```
- PostgreSQL is required for production
- Migrations are applied automatically during deployment
@@ -224,7 +224,7 @@ python scripts/create_test_data.py
```
**What it creates:**
- 3 test stores (WizaMart, Fashion Hub, The Book Store)
- 3 test stores (Orion, Fashion Hub, The Book Store)
- 20 marketplace products per store
- Store-specific products with pricing
- Store themes with custom colors
@@ -261,7 +261,7 @@ python scripts/create_landing_page.py
# Or programmatically in Python
from scripts.create_landing_page import create_landing_page
create_landing_page('wizamart', template='modern')
create_landing_page('orion', template='modern')
```
**Available templates:**
@@ -292,7 +292,7 @@ python scripts/create_landing_page.py
make dev
# 6. Test the shop
# Visit: http://localhost:8000/stores/wizamart/shop/
# Visit: http://localhost:8000/stores/orion/shop/
```
### Common Issues