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:
@@ -2,13 +2,13 @@
|
||||
|
||||
## Overview
|
||||
|
||||
I've created a comprehensive database seeder for your Wizamart platform that significantly expands coverage beyond your original implementation. The new seeder creates realistic test data across all your database models.
|
||||
I've created a comprehensive database seeder for your Orion platform that significantly expands coverage beyond your original implementation. The new seeder creates realistic test data across all your database models.
|
||||
|
||||
## What's New
|
||||
|
||||
### Original Seeder Coverage
|
||||
- ✓ Admin user
|
||||
- ✓ 2 Stores (TESTSTORE, WIZAMART)
|
||||
- ✓ 2 Stores (TESTSTORE, ORION)
|
||||
|
||||
### Enhanced Seeder Coverage
|
||||
- ✓ Admin user + multiple test users (stores, customers)
|
||||
@@ -88,7 +88,7 @@ python scripts/seed_database.py
|
||||
This creates:
|
||||
- 1 admin user
|
||||
- 3 test users (2 stores, 1 customer)
|
||||
- 3 stores (WIZAMART, FASHIONHUB, BOOKSTORE)
|
||||
- 3 stores (ORION, FASHIONHUB, BOOKSTORE)
|
||||
- 5 marketplace products
|
||||
- 10 store-product links
|
||||
- 4 customers
|
||||
@@ -107,7 +107,7 @@ python scripts/seed_database.py --minimal
|
||||
|
||||
This creates only:
|
||||
- 1 admin user
|
||||
- 1 store (WIZAMART)
|
||||
- 1 store (ORION)
|
||||
|
||||
#### Option C: Reset and Seed (Fresh Start)
|
||||
```bash
|
||||
@@ -133,7 +133,7 @@ This runs:
|
||||
|
||||
| Username | Email | Password | Role |
|
||||
|----------|-------|----------|------|
|
||||
| admin | admin@wizamart.com | admin123 | admin |
|
||||
| admin | admin@orion.lu | admin123 | admin |
|
||||
| store1 | store1@example.com | password123 | store |
|
||||
| store2 | store2@example.com | password123 | store |
|
||||
| customer1 | customer1@example.com | password123 | customer |
|
||||
@@ -142,7 +142,7 @@ This runs:
|
||||
|
||||
| Code | Name | Subdomain | Theme | Custom Domain |
|
||||
|------|------|-----------|-------|---------------|
|
||||
| WIZAMART | WizaMart | wizamart | modern | wizamart.shop |
|
||||
| ORION | Orion | orion | modern | orion.shop |
|
||||
| FASHIONHUB | Fashion Hub | fashionhub | vibrant | fashionhub.store |
|
||||
| BOOKSTORE | The Book Store | bookstore | classic | (none) |
|
||||
|
||||
@@ -218,12 +218,12 @@ python scripts/seed_database.py [--reset] [--minimal]
|
||||
- Password: `admin123`
|
||||
|
||||
### Store Shops
|
||||
- WIZAMART: `http://localhost:8000/shop/WIZAMART`
|
||||
- ORION: `http://localhost:8000/shop/ORION`
|
||||
- FASHIONHUB: `http://localhost:8000/shop/FASHIONHUB`
|
||||
- BOOKSTORE: `http://localhost:8000/shop/BOOKSTORE`
|
||||
|
||||
### Theme Editors
|
||||
- WIZAMART Theme: `http://localhost:8000/admin/stores/WIZAMART/theme`
|
||||
- ORION Theme: `http://localhost:8000/admin/stores/ORION/theme`
|
||||
- FASHIONHUB Theme: `http://localhost:8000/admin/stores/FASHIONHUB/theme`
|
||||
- BOOKSTORE Theme: `http://localhost:8000/admin/stores/BOOKSTORE/theme`
|
||||
|
||||
@@ -231,7 +231,7 @@ python scripts/seed_database.py [--reset] [--minimal]
|
||||
|
||||
```
|
||||
╔════════════════════════════════════════════════════════════════════╗
|
||||
║ WIZAMART DATABASE SEEDER ║
|
||||
║ ORION DATABASE SEEDER ║
|
||||
╚════════════════════════════════════════════════════════════════════╝
|
||||
|
||||
STEP 1: Verifying database...
|
||||
@@ -248,9 +248,9 @@ STEP 1: Creating users...
|
||||
✓ User 'customer1' created (ID: 4)
|
||||
|
||||
STEP 2: Creating stores...
|
||||
✓ WIZAMART created (ID: 1)
|
||||
✓ ORION created (ID: 1)
|
||||
✓ Theme 'modern' applied
|
||||
✓ Custom domain 'wizamart.shop' added
|
||||
✓ Custom domain 'orion.shop' added
|
||||
✓ FASHIONHUB created (ID: 2)
|
||||
✓ Theme 'vibrant' applied
|
||||
✓ Custom domain 'fashionhub.store' added
|
||||
@@ -285,7 +285,7 @@ You can customize the seeder by editing the configuration constants at the top o
|
||||
|
||||
```python
|
||||
# Admin credentials
|
||||
DEFAULT_ADMIN_EMAIL = "admin@wizamart.com"
|
||||
DEFAULT_ADMIN_EMAIL = "admin@orion.lu"
|
||||
DEFAULT_ADMIN_USERNAME = "admin"
|
||||
DEFAULT_ADMIN_PASSWORD = "admin123"
|
||||
|
||||
@@ -414,7 +414,7 @@ make db-setup
|
||||
|
||||
## Security Notes
|
||||
|
||||
⚠️ **IMPORTANT**:
|
||||
⚠️ **IMPORTANT**:
|
||||
- Default passwords are simple for development convenience
|
||||
- Change ALL default passwords in production environments
|
||||
- The admin password is intentionally weak for local development
|
||||
|
||||
Reference in New Issue
Block a user