zinnora GLOBAL ECOMMERCE SYSTEM - CPANEL ROOT DOMAIN DEPLOYMENT GUIDE This single-vendor Agri-Food eCommerce and vertical Shoppable Reels package is fully optimized for budget-friendly deployment at the root of your main domain "zinnora.com" on standard cPanel Hosting nodes. STEP-BY-STEP CPANEL SETUP FOR MAIN DOMAIN (zinnora.com): ------------------------------------------------------ 1. DATABASE CREATION & IMPORT: - Log into your cPanel dashboard. - Go to "MySQL Database Wizard". - Create a new database named "zinnora_db". - Register a database privileged user "zinnora_admin" with a password. - Link the user to the database and enable "ALL PRIVILEGES". - Open cPanel "phpMyAdmin" from the main menu. - Select your "zinnora_db" database in the left sidebar. - Click the "Import" tab at the top. - Upload the downloadable "schema.sql" file provided in this repository and click "Go" to forge all tables. 2. PRE-BUILD THE APPLICATION (IMPORTANT FOR PERFORMANCE): - When downloading the code from AI Studio, download the full build containing the compiled "dist" folder. - The React assets compile down to "dist/index.html" and static files. - The Express backend compiles down to "dist/server.cjs" which is a single, bundled, super fast file! - This means you DO NOT need to compile TypeScript or run Vite server-side on your hosting! 3. UPLODING ZIP FILE TO CPANEL FILE MANAGER: - Compress the files into a single zip file. - CRITICAL CLOUD-LINUX RULE: DO NOT include any local "node_modules" folder/file or "dist/node_modules" in your uploaded zip. CloudLinux Node.js Selector requires that "node_modules" DOES NOT exist in the application folder on startup; it maps it dynamically via a virtual symbolic link symlink environment. - Go to cPanel File Manager and upload your zip file directly to your application root directory (e.g., /home/username/zinnora-app). - Extract the zip file there. 4. SYSTEM CONFIGURATION IN CPANEL: - Search for the "Setup Node.js App" tool in cPanel. - Click "Create Application". - Set the following fields: * Node.js Version: Select Node 18.x or 20.x * Application Mode: "production" * Application Root: "zinnora-app" (the directory name where you uploaded the files) * Application URL: "zinnora.com" (choose your main root domain, leave the path field blank so it hosts at the top-level main domain!) * Application Startup File: "dist/server.cjs" (this is the single bundled server file created when building the app) - Click "Create". - The Node app is now generated. Under the "Detected configuration files" section, cPanel will see "package.json". - Click the "Run JS Install" / "NPM Install" button on the cPanel interface. This installs only the lightweight dependencies required for production automatically into the cPanel virtual environment directory. - Once installation completes, click "Restart Application". Your food-powder eCommerce platform is now fully live and accessible at https://zinnora.com! Support line: +91 92748 38389 Email: sales@zinnora.com