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:
@@ -8,8 +8,8 @@ Quick reference for common database operations. See `DATABASE_SETUP_GUIDE.md` fo
|
||||
|
||||
```bash
|
||||
# 1. Clone and setup
|
||||
git clone <wizamart-repo>
|
||||
cd wizamart-repo
|
||||
git clone <orion-repo>
|
||||
cd orion-repo
|
||||
python -m venv venv
|
||||
venv\Scripts\activate # Windows
|
||||
pip install -r requirements.txt
|
||||
@@ -46,7 +46,7 @@ python -m uvicorn app.main:app --reload
|
||||
Remove-Item alembic\versions\*.py -Exclude __init__.py
|
||||
|
||||
# 2. Delete database
|
||||
Remove-Item wizamart.db
|
||||
Remove-Item orion.db
|
||||
|
||||
# 3. Regenerate
|
||||
alembic revision --autogenerate -m "Initial migration"
|
||||
@@ -83,10 +83,10 @@ alembic current
|
||||
alembic history --verbose
|
||||
|
||||
# List all tables
|
||||
python -c "import sqlite3; conn = sqlite3.connect('wizamart.db'); cursor = conn.cursor(); cursor.execute('SELECT name FROM sqlite_master WHERE type=\"table\" ORDER BY name;'); [print(t[0]) for t in cursor.fetchall()]"
|
||||
python -c "import sqlite3; conn = sqlite3.connect('orion.db'); cursor = conn.cursor(); cursor.execute('SELECT name FROM sqlite_master WHERE type=\"table\" ORDER BY name;'); [print(t[0]) for t in cursor.fetchall()]"
|
||||
|
||||
# Check specific table
|
||||
python -c "import sqlite3; conn = sqlite3.connect('wizamart.db'); cursor = conn.cursor(); cursor.execute('PRAGMA table_info(store_themes)'); [print(col) for col in cursor.fetchall()]"
|
||||
python -c "import sqlite3; conn = sqlite3.connect('orion.db'); cursor = conn.cursor(); cursor.execute('PRAGMA table_info(store_themes)'); [print(col) for col in cursor.fetchall()]"
|
||||
```
|
||||
|
||||
---
|
||||
@@ -208,7 +208,7 @@ python -c "from models.database.my_model import MyModel; print('✓ Import works
|
||||
│ ├── seed_database.py ← Seed script
|
||||
│ └── reset_database.ps1 ← Reset script
|
||||
├── alembic.ini ← Alembic config
|
||||
└── wizamart.db ← SQLite database
|
||||
└── orion.db ← SQLite database
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user