GradTrack — Namecheap cPanel upload package

Prepared for the primary domain on Namecheap cPanel Shared Hosting. Laravel source and production dependencies go in ~/gradtrack-app, outside the public web root. Only the public files go in ~/public_html.

1. Open Namecheap Hosting List > Go to cPanel > File Manager. Back up any existing website in public_html. Upload this ZIP to your account home directory (the directory containing public_html) and extract it there. The archive contains gradtrack-app/ and public_html/ at its top level. If your file manager adds an extra wrapper folder, move these two folders up to the account home directory.
2. In cPanel > Select PHP Version, select PHP 8.3 or newer. Enable pdo_mysql, mbstring, fileinfo, openssl, tokenizer, xml, ctype, gd, and zip if listed.
3. In cPanel, create a MySQL database and database user, and grant that user all privileges on the database. Note the exact database name, username, and password (cPanel usually prefixes the first two).
4. In cPanel Terminal or SSH, create the environment file:

   cd ~/gradtrack-app
   cp .env.production.example .env

Then edit ~/gradtrack-app/.env in File Manager: set APP_URL to your HTTPS domain and set DB_DATABASE, DB_USERNAME, and DB_PASSWORD to the exact values from cPanel. Keep APP_ENV=production and APP_DEBUG=false.

5. In Terminal/SSH, confirm `php -v` reports PHP 8.3 or newer, then run:

   cd ~/gradtrack-app
   php artisan key:generate --force
   php artisan migrate --force
   php artisan optimize

If the CLI uses an older PHP version, use Namecheap's PHP 8.3+ CLI binary for these commands. Do not run db:seed; the package intentionally excludes demo accounts and local data.
6. Ensure storage/ and bootstrap/cache/ are writable by the cPanel account. Use 775 permissions if needed; do not use 777.
7. Open the HTTPS domain. This front controller expects ~/gradtrack-app and the domain's document root (normally ~/public_html) to be siblings. If you're deploying to an addon domain or subdomain with a different document root, adjust public_html/index.php's ../gradtrack-app path to the actual app location.

The archive includes production Composer dependencies and prebuilt frontend assets. It excludes the local .env, local database, logs, tests, development dependencies, and user-uploaded files.
