Prerequisites

SSH access to your VPS with root permissions

A public_html folder to host your application

Basic familiarity with terminal commands

VPS with at least 4GB RAM

Nodejs +20 (the VPS distribution should support Nodejs +18, for example, centos 7 don't support nodejs20)

SSL enabled (site starts with HTTPS for security)

HTTP +1.1

Recommended VPS hosting: Ultahost

Very cheap hosting plans compared to other hosting providers

Great support with live chat support

We tried over 50 hosting provider and we only settled with Ultahost of years of trials

Top notch dedicated Servers which you will need when you gain huge list of clients in your site

PHP config:

php_memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

max_input_time = 60

php_max_input_vars = 1000

max_execution_time = 30

Step-by-Step Installation Instructions

Step 1: Upload and Extract installer.zip

Upload the installer.zip file to your public_html folder on the VPS.

Extract the contents of installer.zip within the public_html folder.

Step 2: Access the Server via SSH

Open your terminal.

Connect to your server via SSH with root access.

Step 3: Navigate to Installation Folder

Use the terminal to navigate to the folder where you've placed installer.sh. Typically, this would be the public_html folder where you extracted installer.zip.

cd path/to/public_html

Step 4: Prepare and Run the Installer Script

To prepare the installer.sh script for execution and to run it, execute the following commands based on your Linux distribution:

On Ubuntu/Debian:

sudo apt install dos2unix
dos2unix installer.sh
chmod +x installer.sh
sudo bash installer.sh

On CentOS/RHEL:

sudo yum install dos2unix
dos2unix installer.sh
chmod +x installer.sh
sudo bash installer.sh

Step 5: Follow On-Screen Instructions

The installer will proceed to install all the necessary dependencies and packages required for your application. It will also prompt you to enter specific information needed for deployment. Please follow the on-screen instructions carefully.

Step 6: Update Configuration

Apache Configuration

Nginx Configuration

Step 7: Start the Application

Navigate to the folder where you installed the application through SSH.

cd path/to/public_html

Run the following command to start your application:

pnpm start

Conclusion

Your web application should now be successfully deployed and running. For further configuration or troubleshooting, please refer to the accompanying documentation.

Server commands you need for managing the platform are found in: The Server Commands Guide

For the exchange to work you need to fill the .env files by following these guides:

Environment Configuration

Thank you for using our software. We wish you success with your new trading platform!

 

Very important note

After installation, never use root to run the platform or do any pnpm command, all the commands should be done as user

Was this article helpful?

1 out of 1 found this helpful