Stackposts Documentation Stackposts Documentation
  • Stackposts Documentation 2022
    • Stackposts | Social Marketing Tool
    • Waziper – WhatsApp Marketing Tool
  • FAQs
  • Download
  • Blog
  • Help Center
Get Support
Stackposts Documentation Stackposts Documentation
Get Support
Stackposts Documentation
  • Stackposts Documentation 2022
    • Stackposts | Social Marketing Tool
    • Waziper – WhatsApp Marketing Tool
  • FAQs
  • Download
  • Blog
  • Help Center

Docy

Whatsapp Markteting Tool Module For Stackposts

  • Folder icon closed Folder open iconOverview
  • Folder icon closed Folder open iconRequirements
  • Folder icon closed Folder open iconInstallation API Domain
    • Aapanel (Nginx)
    • Aapanel (Apache2)
    • Cpanel
    • Plesk
  • Folder icon closed Folder open iconInstall Module and Config API
  • Folder icon closed Folder open iconUpgrade version
  • Folder icon closed Folder open iconHow to use?
  • Folder icon closed Folder open iconProblems & Solutions
  • Folder icon closed Folder open iconNeed help with installation

Aapanel (Nginx)

Estimated reading: 3 minutes

Follow the instruction video below to install the api domain on the video. If you have any problems, please open the ticker to ask detail here

Please use PHP version 7.4

Table of Contents

  • Install Waziper on API domain
    • Step 1: Create Api domain and connect them to your Server IP Address
    • Step 2: API Domain Configure
    • Step 3: Install Waziper on API domain (server.zip file)
      • 1. Creat a new Directory in Root:
      • 2. Uploading SERVER.ZIP file to API Domain:
      • 3. Decompress SERVER.ZIP FILE:
      • 4. Config Database to API Domain
    • Step 4: Install LIBRARY on UBUNTU Server
    • Step 5: Install NODEJS and PM2 on UBUNTU Server
    • Step 6: Install GOOGLE CHROME
    • Step 7: Open PORT 8000
    • Step 8: Install Cron
    • Step 9: Restart server
    • Step 10: Check the working status of the api domain

Install Waziper on API domain

Step 1: Create Api domain and connect them to your Server IP Address

Ex: api.yourdomain.com

Please set up SSL for Api domain

Step 2: API Domain Configure

Please insert code below into your API Domain

          location / {
              proxy_pass http://localhost:8000; #whatever port your app runs on
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection 'upgrade';
              proxy_set_header Host $host;
              proxy_cache_bypass $http_upgrade;
          }
         

website -> api.yourdomain.com -> config config-api-domain-1.png

Step 3: Install Waziper on API domain (server.zip file)

1. Creat a new Directory in Root:

Create New Folder Name: wa_server inside“Root dir > root >“install-waziper-maindomain-7

2. Uploading SERVER.ZIP file to API Domain:

Please Upload the file to the right directory exactly

install-waziper-maindomain-7

3. Decompress SERVER.ZIP FILE:

Please Upload the file to the right directory exactlyinstall-waziper-maindomain-7

4. Config Database to API Domain

Follow guides below to config DATABASE to API Domain:

*Note: This is API Domain (edit “config.js” file)

config-api-domain-1.png

Input database information on your wordpress into file config.js

 

Step 4: Install LIBRARY on UBUNTU Server

Please run PuTTY to Install Libraries.

install-waziper-maindomain-7

Run this command:

          sudo apt-get install libnss3-dev libatk-bridge2.0-dev libcups2-dev libxkbcommon-dev libgtk-3-dev
         

install-waziper-maindomain-7

Step 5: Install NODEJS and PM2 on UBUNTU Server

Run these commands :

          1. curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
          2. sudo apt install nodejs
          3. sudo npm i pm2 -g
         

install-waziper-maindomain-7

Step 6: Install GOOGLE CHROME

1. Download Google Chrome:

Run these commands:

          wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
         

install-waziper-maindomain-72. Install Google Chrome:

Run these commands:

         sudo apt install ./google-chrome-stable_current_amd64.deb
         

install-waziper-maindomain-7

Step 7: Open PORT 8000

Please open port 8000 according to instructions

Step 8: Install Cron

Please create Cron according to the instructions

Cron: Once/minute:

          sh -c 'cd /root/wa_server && node app'
         

/root/wa_server: is the path to the server.zip installation directory

Step 9: Restart server

Follow the instruction below to restart your Server:

Step 10: Check the working status of the api domain

Please check the link

https://api.yourdomain.com/get_qrcode

Notice you have successfully installed Api domain
{“status”:”error”,”message”:”Authentication failed”}

Still stuck? How can we help?

How can we help?

A premium WordPress theme with integrated Knowledge Base, providing 24/7 community based support

Was this page helpful? Yes No

Powered By Stackposts

Leaf Illustration

© 2022 All Rights Reserved by Stackposts