DeploymentSelf-hosted
Upload Files
Send your app files to the server.
In this step, you will upload the VitNode files to your server.
Prepare script
Before uploading the files, you need to prepare the deploy.sh
script. This script will install the dependencies, configure the app, and start the server. Edit the deploy.sh
script and change this values:
Most important values are DOMAIN_MAIN_NAME
, DOMAIN_FRONTEND_NAME
, DOMAIN_BACKEND_NAME
and EMAIL
. You can leave the rest as is.
Create a New Directory
First, create a new directory on your server where you will upload the files. You can create a directory with the following command:
Manually Upload Files
You can manually upload the files to your server using an FTP client.
From Git
Run the Script
After uploading the files, run the deploy.sh
script to install the dependencies, configure the app, and start the server.