========================================================================
       OCT STUDIOX — COMPLETE WEB HOSTING & CPANEL DEPLOYMENT GUIDE
========================================================================

PACKAGE CONTENTS:
------------------------------------------------------------------------
/
├── index.html            <- Gateway Launchpad (https://yourdomain.com/)
├── culling/index.html    <- Terminal A: Culling Booth (https://yourdomain.com/culling/)
├── editor/index.html     <- Terminal B: Retouching Desk (https://yourdomain.com/editor/)
├── admin/index.html      <- Terminal C: Director Admin (https://yourdomain.com/admin/)
├── database/
│    └── oct_studiox.sql  <- Complete MySQL production database schema with all tables
├── api/
│    ├── config.php       <- Database credentials (DB_HOST, DB_USER, DB_PASS, DB_NAME)
│    └── sync.php         <- Real-time multi-workstation sync API endpoint
└── .htaccess             <- Apache rewrite rules & speed optimizations

========================================================================
HOW TO DEPLOY ON CPANEL / SHARED HOSTING (5 STEPS):
========================================================================

STEP 1: UPLOAD & EXTRACT FILES IN CPANEL
1. Log in to your cPanel account.
2. Open "File Manager" and navigate to "public_html" (or your subdomain directory).
3. Click "Upload" and upload this "OCT_STUDIOX_Production_Suite.zip" file.
4. Right-click the uploaded ZIP file in File Manager and click "Extract".

STEP 2: CREATE MYSQL DATABASE IN CPANEL
1. In cPanel, navigate to "MySQL Database Wizard".
2. Create a new database (e.g. youruser_octdb).
3. Create a database user and generate a strong password.
4. Assign the user to the database and check "ALL PRIVILEGES".

STEP 3: IMPORT THE DATABASE SCHEMA
1. In cPanel, click "phpMyAdmin".
2. Select your newly created database on the left sidebar.
3. Click the "Import" tab at the top.
4. Click "Choose File", select "database/oct_studiox.sql" from your extracted files, and click "Import" (or "Go").

STEP 4: UPDATE DATABASE CREDENTIALS
1. In cPanel File Manager, open "api/config.php" in code editor.
2. Update the credentials with the values you created in Step 2:
   define('DB_HOST', 'localhost');
   define('DB_USER', 'youruser_dbuser');
   define('DB_PASS', 'your_strong_password');
   define('DB_NAME', 'youruser_octdb');
3. Save the file.

STEP 5: ACCESS YOUR LIVE APPLICATION
Your studio suite is now completely live:
- Central Launchpad:  https://yourdomain.com/
- Culling Booth:      https://yourdomain.com/#culling (or /culling/)
- Retoucher Desk:     https://yourdomain.com/#editor  (or /editor/)
- Executive Admin:    https://yourdomain.com/#admin   (or /admin/)

========================================================================
DEFAULT PASSCODES:
------------------------------------------------------------------------
- Culling Booth (Terminal A): cull123 or 0000
- Editor Desk   (Terminal B): 9999 or editor123
- Executive Admin (Terminal C): admin123
========================================================================