Skip to content
This repository was archived by the owner on Oct 25, 2026. It is now read-only.

Commands

Syed Ahmer Shah edited this page Oct 25, 2026 · 1 revision

Commands

php artisan prescriptions:auto-approve   # accept prescriptions pending > 24 h (scheduled every 10 min)
php artisan payments:expire              # cancel + restock unpaid card orders (scheduled every 5 min)
php artisan refills:remind               # refill reminder e-mails (scheduled daily 09:00 PKT)
php artisan user:admin <email> --role=owner|pharmacist|support [--revoke] [--reset-2fa]
php artisan catalog:import               # upsert the catalogue from database/data/catalog.json
php artisan catalog:cache-images         # download missing images, replace placeholders (--force rebuilds all)
php artisan schedule:work                # run the scheduler locally
php artisan queue:work                   # run queued jobs (QUEUE_CONNECTION=database/redis)
npm run dev                              # Vite with hot reload
npm run build                            # production client build
npm run build:ssr                        # ziggy routes + client build + SSR bundle (bootstrap/ssr)
php artisan inertia:start-ssr            # run the SSR server
node tools/bodymap/build-body.mjs        # rebuild the 3D body mesh
./vendor/bin/pint                        # format PHP

Clone this wiki locally