🛠️ VitNode is still in development! You can try it out, but it is not recommended to use it now in production.
🛠️ Get Started
Installation

Installation

Install VitNode

Go to home directory

cd /home

Clone VitNode

git clone https://github.com/aXenDeveloper/vitnode.git && cd vitnode

Install dependencies

pnpm i

Generate config file

pnpm config:init

Set env File

Go to /home/vitnode and opy content from .env.eample file to .env.

After copy content from example file you need to change:

  • LOGIN_TOKEN_SECRET - Login token must be unique,
  • NEXT_PUBLIC_FRONTEND_URL - Your frontend url, for example https://frontend.vitnode.com,
  • DB_USER - Database user,
  • DB_PASSWORD - Database password,
  • NEXT_PUBLIC_BACKEND_URL - Your backend url, for example https://backend.vitnode.com

Build the project

pnpm docker:prod

Start VitNode

Now when you open your website in the browser, you should see the wizard install page. Follow the instructions on the screen.

Now, let's move to the security server part.

Reinstall VitNode (Experimental)

sudo docker rm -v -f $(docker ps -qa)
sudo docker rmi $(docker images -a -q)
sudo docker system prune -a
sudo rm -r /home/vitnode/docker && sudo rm /home/vitnode/frontend/config/config.json