========================================================== MedAid — cPanel / MySQL Installation Guide Built by Mugonat Systems | https://mugonat.com ========================================================== REQUIREMENTS ──────────── • PHP 8.2 or higher • MySQL 5.7 or 8.0 • mod_rewrite enabled • PHP extensions: pdo_mysql, mbstring, openssl, xml, ctype, json, bcmath STEP-BY-STEP INSTALLATION ────────────────────────── 1. UPLOAD Upload and extract medaid-cpanel.zip to your server. Recommended path: /home/youraccount/medaid/ 2. DOCUMENT ROOT In cPanel → Domains (or Subdomains), set the Document Root to point to the /public subfolder: /home/youraccount/medaid/public 3. PHP VERSION In cPanel → MultiPHP Manager, set PHP 8.2+ for your domain. 4. DATABASE In cPanel → MySQL Databases: a. Create a new database (e.g. yourusername_medaid) b. Create a database user (e.g. yourusername_medaid) c. Add the user to the database with ALL PRIVILEGES 5. FILE PERMISSIONS Set these directories to 755 or 775 (writable by PHP): storage/ bootstrap/cache/ 6. RUN THE INSTALLER Open your browser and visit: https://yourdomain.com/install The wizard will guide you through: Step 1 — Server requirements check Step 2 — Database connection (MySQL credentials from cPanel) Step 3 — Application settings (name, URL, timezone) Step 4 — Create admin account + optional demo data Step 5 — Automated installation (migrations + setup) 7. LOG IN Once complete, go to https://yourdomain.com and log in. MAIL CONFIGURATION (optional) ────────────────────────────── After installation, edit .env to configure SMTP: MAIL_MAILER=smtp MAIL_HOST=mail.yourdomain.com MAIL_PORT=587 MAIL_USERNAME=noreply@yourdomain.com MAIL_PASSWORD=yourpassword MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=noreply@yourdomain.com SUPPORT ─────── Built by Mugonat Systems Website: https://mugonat.com ==========================================================