# Buyer demo data

SMR One includes original, deterministic demonstration data for evaluation: four roles, grocery/food/pharmacy storefronts, products, a customer address/order, approved driver/vehicle, delivery job, premium ride, geography, and content.

From a fresh local/demo installation run:

```bash
php artisan migrate:fresh --seed
```

Or run only the buyer dataset with `php artisan db:seed --class=DemoSeeder`. The seeder refuses production-like environments unless `DEMO_SEED_ALLOWED=true` is intentionally supplied. Never enable that flag on a live store.

Credentials are read from `DEMO_*_EMAIL` and `DEMO_PASSWORD`. If no password is supplied, a strong password is generated once and the complete role login sheet is written to `storage/app/demo-credentials.json`. This file is gitignored/private; distribute it only to the evaluator. Re-running the seeder reuses the stored credentials and updates deterministic records without duplicating core entities. Delete the credential file and rotate every password before production.
