removing references to letzshop, replacing by wizamart

This commit is contained in:
2025-11-23 20:19:00 +01:00
parent c100d839f1
commit 756e12fe7b
13 changed files with 58 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
# Installation Guide
This guide will help you set up the Letzshop Import application for development or production use.
This guide will help you set up the Wizamart Platform for development or production use.
## Prerequisites
@@ -16,8 +16,8 @@ Before you begin, ensure you have the following installed:
### 1. Clone the Repository
```bash
git clone https://github.com/yourusername/letzshop-import.git
cd letzshop-import
git clone <wizamart-repo>
cd wizamart-repo
```
### 2. Create Virtual Environment
@@ -38,16 +38,18 @@ cd letzshop-import
```bash
# Install main application dependencies
pip install -r requirements.txt
pip install -r requirements.txt # or make install
# Install development dependencies
pip install -r requirements-dev.txt
pip install -r requirements-dev.txt # or make install-dev
# Install test dependencies
pip install -r tests/requirements-test.txt
pip install -r tests/requirements-test.txt # or make install-test
# Install documentation dependencies (optional)
pip install -r requirements-docs.txt
pip install -r requirements-docs.txt # or make install-docs
# All dependencies can be installed with make install-all
```
### 4. Database Setup
@@ -56,9 +58,9 @@ pip install -r requirements-docs.txt
1. **Create Database**:
```sql
CREATE DATABASE letzshop_import;
CREATE USER letzshop_user WITH PASSWORD 'your_password';
GRANT ALL PRIVILEGES ON DATABASE letzshop_import TO letzshop_user;
CREATE DATABASE wizamart_db;
CREATE USER wizamart_user WITH PASSWORD 'your_password';
GRANT ALL PRIVILEGES ON DATABASE wizamart_db TO wizamart_user;
```
2. **Create Environment File**:
@@ -69,7 +71,7 @@ pip install -r requirements-docs.txt
3. **Configure `.env` file**:
```env
# Database
DATABASE_URL=postgresql://letzshop_user:your_password@localhost/letzshop_import
DATABASE_URL=postgresql://wizamart_user:your_password@localhost/wizamart
# Security
SECRET_KEY=your-super-secret-key-here
@@ -83,9 +85,9 @@ pip install -r requirements-docs.txt
#### Option B: Docker PostgreSQL
```bash
docker run --name letzshop-postgres \
-e POSTGRES_DB=letzshop_import \
-e POSTGRES_USER=letzshop_user \
docker run --name wizamart-postgres \
-e POSTGRES_DB=wizamart_import \
-e POSTGRES_USER=wizamart_user \
-e POSTGRES_PASSWORD=your_password \
-p 5432:5432 \
-d postgres:15
@@ -105,7 +107,7 @@ python scripts/create_admin.py
```bash
# Start development server
uvicorn main:app --reload --host 0.0.0.0 --port 8000
uvicorn main:app --reload --host 0.0.0.0 --port 8000 # or make dev
```
The application will be available at:
@@ -119,8 +121,8 @@ The application will be available at:
1. **Clone and navigate to project**:
```bash
git clone https://github.com/yourusername/letzshop-import.git
cd letzshop-import
git clone <wizamart-repo>
cd wizamart-repo
```
2. **Start all services**:
@@ -143,11 +145,11 @@ The application will be available at:
2. **Run with environment variables**:
```bash
docker run -d \
--name letzshop-api \
--name wizamart-api \
-p 8000:8000 \
-e DATABASE_URL="postgresql://user:pass@host/db" \
-e SECRET_KEY="your-secret-key" \
letzshop-import
wizamart-import
```
## Verification