================================================================================
  Campaign dashboard — cPanel bundle (extract and configure)
  Version: 2.0.0-test   Built: 2026-05-11T17:01:54.941Z
================================================================================

WHAT THIS ZIP IS
  Production Next.js server + traced dependencies for your cPanel / VPS host.
  Firebase (Auth, Firestore, Cloud Functions) still runs on Google — set keys below.

WHAT IS NOT HERE
  Cloud Functions, Firestore rules, and the mobile app are not in this folder.
  Deploy those from the full repo with Firebase CLI / EAS as usual.

FOLDER LAYOUT (keep as-is after extract)
  dashboard/           <- cPanel "Application root" points HERE
    server.js
    cpanel-start.sh    <- startup script (CloudLinux-safe NODE_PATH)
  deps/node_modules/   <- dependencies (do not move; not the app root)

QUICK STEPS
  1) Upload or extract this entire folder under your home directory (e.g. ~/apps/campaign-dashboard-cpanel-v2.0.0-test/).
  2) cPanel -> Setup Node.js Application:
       Application root: .../campaign-dashboard-cpanel-v2.0.0-test/dashboard
       Startup: chmod +x cpanel-start.sh  then  ./cpanel-start.sh
       (Or set NODE_PATH to absolute path of deps/node_modules and run: node server.js)
  3) Set environment variables from env.production.cpanel.example (use host UI; production values).
  4) Map your subdomain reverse-proxy to the port cPanel assigns.
  5) Do NOT run "npm install" in the panel for this bundle — dependencies are already under deps/.

See dashboard/CPANEL_DEPLOY.md in the developer repo for timeouts, CloudLinux notes, and troubleshooting.
