Collabs — cPanel upload (MySQL)
================================

Requirements
- PHP 8.4+ (set in cPanel → MultiPHP Manager for your domain).
- MySQL database (cPanel → MySQL Databases).

1) Upload and unzip
   Unzip so the folder contains: app/, bootstrap/, config/, database/, public/, vendor/, etc.

2) Point the site at Laravel’s public folder
   In cPanel → Domains (or Subdomains) → set Document Root to:
     .../collabs-laravel/public
   Not the project root.

3) MySQL database
   - Create database + user in cPanel → MySQL Databases; attach user with ALL PRIVILEGES.
   - Open phpMyAdmin → select that database → Import → choose:
       database/schema/mysql-baseline.sql

4) Environment file
   - Copy .env.example to .env (if .env is not already there).
   - Edit .env:
       APP_URL=https://your-domain.com
       APP_DEBUG=false
     Database section — comment out SQLite and use MySQL, for example:
       DB_CONNECTION=mysql
       DB_HOST=127.0.0.1
       DB_PORT=3306
       DB_DATABASE=cpanel_dbname
       DB_USERNAME=cpanel_dbuser
       DB_PASSWORD=your_password
   (Host is often localhost or 127.0.0.1; cPanel shows the exact name.)

5) Permissions (File Manager)
   - storage/ and bootstrap/cache/ → writable by the web server (775 is typical).

6) APP_KEY
   If the site errors about APP_KEY: ensure .env is writable (644/664), or run locally:
     php artisan key:generate --show
   and paste the value into APP_KEY= in .env.

This package includes vendor/ and public/build/ — no Composer or npm on the server.

Queues / scheduled tasks need cron or SSH on your host if you use reminders; see docs/CPANEL.md.
