WaTicketSync
  • WaTicketSync - SaaS
  • Get Started
    • Purchase
    • Installation
      • Cpanel
        • Requirements
        • Preparations
        • Admin Panel Installation
        • Node server installation
      • Cloudpanel
        • Requirements
        • Preparations
        • Admin panel installation
        • Node server installation
      • .ENV Variables
        • Admin panel .env
        • Node server .env
      • Arrocy WhatsApp Gateway
        • Webhook
        • Module
      • Zender WhatsApp Gateway
        • API Key
        • Webhook
        • Wa Servers
  • Demo
  • FEATURES
    • Multi - Languages
Powered by GitBook
On this page
  1. Get Started
  2. Installation
  3. Cpanel

Node server installation

  • Upload node-server.zip to https://botserver.trenalyze.com, then extract.

  • Rename ".env.node.example" to ".env" and set your AWG device sender token in the AWG_TOKEN env value. Also, set SERVER_DOMAIN to be your admin panel domain (https://supportpanel.trenalyze.com). Please, do not add trailing slash.

  • Set BOT_PROVIDER to be 'awg' or 'zender' (It's case sensitive)

  • Set your SERVER_SECRET to be any random string and also your NODE_PORT, the default is port 8000

  • Cpanel -> Domains, write down the Document Root column for botserver.trenalyze.com

  • cPanel -> Setup Node.js App -> Create new

  • Node.js version: 18.xx

  • Application mode: Production

  • Application root: get from step#3 above

  • Application URL: botserver.trenalyze.com

  • Application Startup file: server.js

  • CREATE

  • Open the browser, go to https://botserver.trenalyze.com/info

PreviousAdmin Panel InstallationNextCloudpanel

Last updated 9 months ago