# Quick Install

### cPanel / Hostinger-style deployment

1. Upload and extract the ZIP.
2. Make sure the server has PHP 8.2+ and required PHP extensions.
3. Create a MySQL database and database user.
4. Copy `.env.example` to `.env`.
5. Set:
   - DB_DATABASE
   - DB_USERNAME
   - DB_PASSWORD
   - APP_URL
   - PHARMACY_ADMIN_EMAIL
   - PHARMACY_ADMIN_PASSWORD
6. If SSH is available:
   ```
   composer install --no-dev --optimize-autoloader
   php artisan key:generate
   php artisan pharmacy:setup --force
   npm install
   npm run build
   ```
7. Point the domain/subdomain document root to:
   `public/`
8. Open:
   `/`

If Composer/Node are not available on your hosting account, build the dependencies locally and upload the resulting `vendor/` and compiled assets.

### First login

Use the Super Admin email/password from `.env`.

### Next development milestone

After V1 installation works, implement:
1. Super Admin medicine importer
2. Tenant onboarding
3. Full POS
4. Invoice/receipt printing
5. Customer payment/ledger UI
6. Batch/FIFO or FEFO stock logic
7. Offline IndexedDB transaction queue + server sync
8. Advanced reporting
