# PostgreSQL Deployment

Set:

```bash
DATABASE_URL=postgresql+psycopg://user:password@host:5432/retail_catalogue
```

Then install the PostgreSQL driver:

```bash
pip install psycopg[binary]
python scripts/init_db.py
```

For production, use Alembic migrations, managed backups, TLS, audit retention, and role-based access control.
