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

@@ -19,7 +19,7 @@ cp .env.example .env
# Edit .env with your database configuration
# For development, you can use SQLite:
DATABASE_URL=sqlite:///./ecommerce.db
DATABASE_URL=sqlite:///./wizamart.db
# For PostgreSQL (recommended for production-like development):
# DATABASE_URL=postgresql://username:password@localhost:5432/ecommerce_dev
@@ -130,7 +130,7 @@ make migrate-down
make backup-db
# Delete database and recreate from scratch
del ecommerce.db # or drop PostgreSQL database
del wizamart.db # or drop PostgreSQL database
make migrate-up
```
@@ -138,7 +138,7 @@ make migrate-up
### Development (SQLite)
```env
DATABASE_URL=sqlite:///./ecommerce.db
DATABASE_URL=sqlite:///./wizamart.db
```
- Quick setup, no additional software needed
- File-based database, easy to backup/restore
@@ -146,7 +146,7 @@ DATABASE_URL=sqlite:///./ecommerce.db
### Development (PostgreSQL)
```env
DATABASE_URL=postgresql://user:password@localhost:5432/ecommerce_dev
DATABASE_URL=postgresql://user:password@localhost:5432/wizamart_dev
```
- More production-like environment
- Better for testing complex queries
@@ -154,7 +154,7 @@ DATABASE_URL=postgresql://user:password@localhost:5432/ecommerce_dev
### Production
```env
DATABASE_URL=postgresql://user:password@production-host:5432/ecommerce_prod
DATABASE_URL=postgresql://user:password@production-host:5432/wizamart_prod
```
- Always use PostgreSQL in production
- Migrations are applied automatically during deployment