# Shared Hosting Deployment

This build targets modern shared hosting with PHP 8.3+.

Build a production ZIP locally:

```bash
php artisan raseednow:package --include-vendor
```

The ZIP is written to `storage/app/releases` and excludes local secrets, logs, tests, Git metadata, and `node_modules`.

Important:

- Keep the Laravel root outside `public_html` whenever possible.
- Point the web root to `public`.
- If the host cannot change document root, copy `public` contents into `public_html` and update paths carefully.
- Never expose `.env`, `storage/logs`, `vendor`, database dumps, or Git metadata publicly.
- Use `.env.production.example` as the production environment template.
- Verify `/health` after upload.

Cron:

```bash
php /home/account/raseednow/artisan schedule:run
php /home/account/raseednow/artisan queue:work --stop-when-empty --tries=3 --timeout=90
```

Production cache commands:

```bash
php artisan config:cache
php artisan route:cache
php artisan view:cache
```
