HEBROTECH PAYROLL ONLINE — CPANEL DEPLOYMENT

1. Create a subdomain such as payroll.yourdomain.com and enable SSL/AutoSSL.
2. In cPanel MySQL Databases, create a database and database user. Grant ALL privileges to that database.
3. Upload the contents of hebrotech_payroll_online to the subdomain document root.
4. Copy config/config.example.php to config/config.php and enter the cPanel database credentials and HTTPS base URL.
5. Import database/schema.sql, then run the migration files in numerical order:
   database/v4_reporting_controls.sql
   database/v5_employee_year_finalpay.sql
   database/v6_hr_controls.sql
   database/v7_production.sql
6. Browse to https://your-payroll-domain/install.php.
7. Create the first company and Superadmin. The Superadmin is forced to change the temporary password on first login.
8. Sign in and open System Check. Resolve any ACTION REQUIRED item, especially HTTPS.
9. Delete or rename install.php after setup.
10. Configure statutory settings, PAYE bands, activities, Banks/SACCO and email settings before live payroll.
11. Configure scheduled cPanel database/file backups. The in-app Backup page provides an additional company-scoped JSON archive.
12. Test using a non-production payroll period before processing live salaries.

SECURITY
- Do not put database or SMTP passwords in screenshots, tickets, or public files.
- Keep config/config.php server-only and restrict its permissions where supported.
- Use HTTPS only.
- Use unique named user accounts; do not share Superadmin credentials.
