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 @@
|
||||
# Installation Guide
|
||||
|
||||
This guide will help you set up the Wizamart Platform for development or production use.
|
||||
This guide will help you set up the Orion Platform for development or production use.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@@ -20,8 +20,8 @@ Before you begin, ensure you have the following installed:
|
||||
### 1. Clone the Repository
|
||||
|
||||
```bash
|
||||
git clone <wizamart-repo>
|
||||
cd wizamart-repo
|
||||
git clone <orion-repo>
|
||||
cd orion-repo
|
||||
```
|
||||
|
||||
### 2. Create Virtual Environment
|
||||
@@ -62,9 +62,9 @@ pip install -r requirements-docs.txt # or make install-docs
|
||||
|
||||
1. **Create Database**:
|
||||
```sql
|
||||
CREATE DATABASE wizamart_db;
|
||||
CREATE USER wizamart_user WITH PASSWORD 'your_password';
|
||||
GRANT ALL PRIVILEGES ON DATABASE wizamart_db TO wizamart_user;
|
||||
CREATE DATABASE orion_db;
|
||||
CREATE USER orion_user WITH PASSWORD 'your_password';
|
||||
GRANT ALL PRIVILEGES ON DATABASE orion_db TO orion_user;
|
||||
```
|
||||
|
||||
2. **Create Environment File**:
|
||||
@@ -75,12 +75,12 @@ pip install -r requirements-docs.txt # or make install-docs
|
||||
3. **Configure `.env` file**:
|
||||
```env
|
||||
# Database
|
||||
DATABASE_URL=postgresql://wizamart_user:your_password@localhost/wizamart
|
||||
|
||||
DATABASE_URL=postgresql://orion_user:your_password@localhost/orion
|
||||
|
||||
# Security
|
||||
SECRET_KEY=your-super-secret-key-here
|
||||
JWT_SECRET_KEY=your-jwt-secret-key-here
|
||||
|
||||
|
||||
# Environment
|
||||
ENVIRONMENT=development
|
||||
DEBUG=True
|
||||
@@ -89,9 +89,9 @@ pip install -r requirements-docs.txt # or make install-docs
|
||||
#### Option B: Docker PostgreSQL
|
||||
|
||||
```bash
|
||||
docker run --name wizamart-postgres \
|
||||
-e POSTGRES_DB=wizamart_import \
|
||||
-e POSTGRES_USER=wizamart_user \
|
||||
docker run --name orion-postgres \
|
||||
-e POSTGRES_DB=orion_import \
|
||||
-e POSTGRES_USER=orion_user \
|
||||
-e POSTGRES_PASSWORD=your_password \
|
||||
-p 5432:5432 \
|
||||
-d postgres:15
|
||||
@@ -151,8 +151,8 @@ The application will be available at:
|
||||
|
||||
1. **Clone and navigate to project**:
|
||||
```bash
|
||||
git clone <wizamart-repo>
|
||||
cd wizamart-repo
|
||||
git clone <orion-repo>
|
||||
cd orion-repo
|
||||
```
|
||||
|
||||
2. **Start all services**:
|
||||
@@ -175,11 +175,11 @@ The application will be available at:
|
||||
2. **Run with environment variables**:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name wizamart-api \
|
||||
--name orion-api \
|
||||
-p 8000:8000 \
|
||||
-e DATABASE_URL="postgresql://user:pass@host/db" \
|
||||
-e SECRET_KEY="your-secret-key" \
|
||||
wizamart-import
|
||||
orion-import
|
||||
```
|
||||
|
||||
## Verification
|
||||
@@ -252,7 +252,7 @@ pytest -m integration
|
||||
| `R2_ACCOUNT_ID` | Cloudflare account ID | - | ❌ (if r2) |
|
||||
| `R2_ACCESS_KEY_ID` | R2 access key | - | ❌ (if r2) |
|
||||
| `R2_SECRET_ACCESS_KEY` | R2 secret key | - | ❌ (if r2) |
|
||||
| `R2_BUCKET_NAME` | R2 bucket name | `wizamart-media` | ❌ |
|
||||
| `R2_BUCKET_NAME` | R2 bucket name | `orion-media` | ❌ |
|
||||
| `R2_PUBLIC_URL` | Custom public URL for R2 | - | ❌ |
|
||||
|
||||
### CloudFlare CDN
|
||||
@@ -312,4 +312,4 @@ If you encounter issues:
|
||||
|
||||
- **[Quick Start Guide](quickstart.md)** - Get familiar with basic operations
|
||||
- **[Configuration Guide](configuration.md)** - Detailed configuration options
|
||||
- **[API Documentation](../api/index.md)** - Explore the API endpoints
|
||||
- **[API Documentation](../api/index.md)** - Explore the API endpoints
|
||||
|
||||
Reference in New Issue
Block a user