DEPLOYMENT INSTRUCTIONS
=======================

Your Computer Based Test (CBT) system is ready for upload.

1. DATABASE SETUP
   - Log in to your hosting control panel (e.g., cPanel).
   - Create a new MySQL Database and a User.
   - Note down the:
     * Database Name
     * Database User
     * Database Password
     * Hostname (usually 'localhost')

2. IMPORT DATABASE
   - Open phpMyAdmin on your host.
   - Select your new database.
   - Click "Import" and upload the "database.sql" file found in this folder.
   - This file contains all the tables and initial data.

3. CONFIGURATION
   - Open the file "config/database.php" in a text editor.
   - Update the settings to match your host credentials:
     
     define('DB_HOST', 'localhost');
     define('DB_NAME', 'your_db_name');
     define('DB_USER', 'your_db_user');
     define('DB_PASS', 'your_db_password');

4. UPLOAD FILES
   - Upload all files in this folder to your server (public_html or subfolder).
   - EXCLUDE the "_setup_files" folder if possible (it contains backup/install scripts).

5. FINAL STEPS
   - Default Admin Login:
     Email: admin@example.com
     Password: admin123(or whatever you set)
   - CHANGE YOUR ADMIN PASSWORD IMMEDIATELY after logging in.

6. SYSTEM UPDATES
   - To update the site in the future, use the "Developer" tab in Settings on your local version to generate a .zip package.
   - Upload that package via the "System Update" tab on your live site.

SECURITY NOTE:
The installation files (install.php, etc.) have been moved to the "_setup_files" folder for safety. Do not upload this folder to your public server unless necessary.
