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 @@
|
||||
# CloudFlare Setup Guide
|
||||
|
||||
This guide covers setting up CloudFlare for Wizamart, including CDN, proxy, WAF, and R2 storage.
|
||||
This guide covers setting up CloudFlare for Orion, including CDN, proxy, WAF, and R2 storage.
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -35,7 +35,7 @@ Create these DNS records (with proxy enabled - orange cloud):
|
||||
| A | api | Your server IP | ✅ Proxied |
|
||||
| CNAME | media | your-bucket.r2.dev | ✅ Proxied |
|
||||
|
||||
### 3. Enable CloudFlare in Wizamart
|
||||
### 3. Enable CloudFlare in Orion
|
||||
|
||||
```env
|
||||
# .env
|
||||
@@ -110,7 +110,7 @@ Action: Cache eligible → Override → 30 days
|
||||
|
||||
1. Go to **R2** in CloudFlare dashboard
|
||||
2. Click **Create bucket**
|
||||
3. Name: `wizamart-media`
|
||||
3. Name: `orion-media`
|
||||
4. Location: Choose region closest to your users
|
||||
|
||||
### Create API Token
|
||||
@@ -121,7 +121,7 @@ Action: Cache eligible → Override → 30 days
|
||||
- Bucket: Select your bucket
|
||||
3. Save the **Access Key ID** and **Secret Access Key**
|
||||
|
||||
### Configure Wizamart
|
||||
### Configure Orion
|
||||
|
||||
```env
|
||||
# .env
|
||||
@@ -129,7 +129,7 @@ STORAGE_BACKEND=r2
|
||||
R2_ACCOUNT_ID=your_account_id
|
||||
R2_ACCESS_KEY_ID=your_access_key
|
||||
R2_SECRET_ACCESS_KEY=your_secret_key
|
||||
R2_BUCKET_NAME=wizamart-media
|
||||
R2_BUCKET_NAME=orion-media
|
||||
```
|
||||
|
||||
### Enable Public Access (Optional)
|
||||
@@ -222,7 +222,7 @@ real_ip_header CF-Connecting-IP;
|
||||
| `R2_ACCOUNT_ID` | CloudFlare account ID | - |
|
||||
| `R2_ACCESS_KEY_ID` | R2 API access key | - |
|
||||
| `R2_SECRET_ACCESS_KEY` | R2 API secret key | - |
|
||||
| `R2_BUCKET_NAME` | R2 bucket name | `wizamart-media` |
|
||||
| `R2_BUCKET_NAME` | R2 bucket name | `orion-media` |
|
||||
| `R2_PUBLIC_URL` | Custom public URL for R2 | - |
|
||||
|
||||
---
|
||||
@@ -253,7 +253,7 @@ With `CLOUDFLARE_ENABLED=true`:
|
||||
|
||||
```bash
|
||||
# Check application logs
|
||||
journalctl -u wizamart | grep "real_ip"
|
||||
journalctl -u orion | grep "real_ip"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user