NAMECHEAP INSTALLATION - EMPLOYMENT PLATFORM

1. In cPanel, create a MySQL database and database user.
2. Open phpMyAdmin and SELECT the database you created.
3. Import ONLY database.sql for a fresh installation.
4. Upload the contents of this jobwork folder into the document root for your domain/subdomain.
5. Copy config/config.example.php to config/config.php.
6. Edit config/config.php and enter your real database name, username, password and app URL.
7. Open /admin/create-admin.php once and create your first administrator.
8. Delete admin/create-admin.php immediately after creating the administrator.
9. Admin login: /admin-login.php
10. Enable SSL/HTTPS in Namecheap/cPanel before accepting uploads.

IMPORTANT SECURITY NOTES
- Do not put database passwords in public files or screenshots.
- Keep private_uploads protected; ID documents are sensitive and must not be publicly browsable.
- Never collect banking passwords, PINs, OTPs or card security codes.
- Review local privacy, employment and identity-verification requirements before launching publicly.

LEGACY SQL
LEGACY-database_update_identity_documents.sql is only for an older installation that already has the users table and needs the identity_documents table added. Do not import it for a fresh installation.

ADMIN BACKEND UPGRADE
---------------------
The admin backend now includes a private control-center dashboard, user management,
employer verification, job moderation, application monitoring, identity-document review,
audit logs, email logs and site settings. Administrative actions are recorded in audit_logs.
Import the updated database.sql on a new database. If upgrading an existing installation,
run only the CREATE TABLE statement for audit_logs from database.sql after backing up first.
