Server configuration

Answer:

To install the script, follow the steps below (Node.js and Redis is a server requirement to install script. Please check your server before installing script).

DOMAIN CONFIGURATION and UPLOAD

Note: Hosting requirements

  • cPanel/shared hosting, AWS, Digital Ocean, Railway, Heroku. This installation guide is only for hosting with cPanel but can be utilized to set up script on other hosting without cPanel. 

Step 1: Get codecanyon files

  • After purchase, download the file from codecanyon under your downloads section.
  • Extract the downloaded .zip file from codecanyon on your computer.

Step 2: Domain setup

  • Log into cPanel of your hosting of choice. 
  • Create a domain (example: yourdomain.com) or sub-domain (example: app.yourdomain.com).

Step 3: Domain redirects

  • Find domain Redirects in cPanel
  • Select or type Permanent (301)
  • Choose your domain
  • Enter: https://yourdomain.com/v1
  • Leave other fields unchanged
  • Click Add

Step 4: Upload script

  • Go to file manager
  • Find the domain folder you created and upload zip to there
  • Extract zip in that same domain folder
  • Ensure all files are enclosed in a folder called v1

NODE.JS APPLICATION SETUP (if not activated already)

  • In cPanel, find Node.js or search for it, then open it.
  • Click Create Application
  • Complete the requirements:
  • Select the latest Node.js version (20.0+)
  • Application mode Production
  • Application root yourdomain.com/v1
  • Application url select your domain and enter v1 in the input field
  • Startup file server.js
  • Click create

INSTALL DEPENDENCIES

  • Check if Node.js is running at the top. If so, STOP APP
  • In the Detected configuration files section, click Run NPM Install
  • Wait for installation of modules to complete. Should take a minute or less depending on your server
  • After installation is complete, click START at the top of the page

REDIS ACTIVATION (If not activated already)

  • Find Redis in cPanel or search for it
  • Click Start
  • Current status should be Running, after clicking start. If not, please refresh your page

FINAL STEP

  • Visit your domain via URL https://yourdomain.com/v1 or click to open from Node.js application list
  • You should now see the Installation Wizard. You'll need your database information and codecanyon purchase key to complete the installation. 

Cheers!!!

Did you find this article useful?