Skip to content

Deploy to a VPS

rednotsus edited this page Mar 4, 2024 · 12 revisions

Linux

Note

This is assuming you have a Linux VPS.

  1. Install Node.js
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - && sudo apt-get install -y nodejs 
  1. Install PM2
npm install pm2@latest -g
  1. Clone the git repo
git clone https://github.com/55gms/55GMS.git
  1. Install dependencies
cd 55GMS && npm install
  1. Start the program using pm2
pm2 start index.js

One Liner Install

sudo apt update && sudo apt update -y && curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - && sudo apt-get install -y nodejs  && npm install pm2@latest -g && git clone https://github.com/55gms/55GMS.git && cd 55GMS && npm install && pm2 start index.js

For Port forwarding instructions, visit your routers settings, and for SSL and Custom domains, check out Nginx Proxy Manager

Clone this wiki locally