CPANEL BACKEND – BUILD AND UPLOAD ================================= This folder is the backend build ready for cPanel. OPTION A – Upload this folder as-is ----------------------------------- 1. Zip the entire "Cpannel_deployement" folder (right-click → Send to → Compressed folder, or use 7-Zip/WinRAR). 2. Upload the zip to cPanel (File Manager or FTP). 3. Extract in your Node.js application root. 4. Create .env from .env.example and set your database, CORS, and WhatsApp variables. 5. In cPanel → Setup Node.js App: set application root to this folder, run "Run NPM Install", then "Start". OPTION B – Create zip from repo root (PowerShell) ------------------------------------------------- .\build_cpanel_deploy.ps1 This creates Cpannel_deployement.zip in the project root. Upload that zip to cPanel and extract. REQUIRED ON SERVER ------------------ - Node.js 18+ (set in cPanel Node.js app). - Create .env (copy from .env.example). - Run "npm install" (cPanel usually has "Run NPM Install"). - Start the application (cPanel "Start" or "Restart"). See README_CPANEL.md in this folder for full steps.