-
-
Notifications
You must be signed in to change notification settings - Fork 177
Deploy to a VPS
rednotsus edited this page Mar 4, 2024
·
12 revisions
Note
This is assuming you have a Linux VPS.
- Install Node.js
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - && sudo apt-get install -y nodejs
- Install PM2
npm install pm2@latest -g
- Clone the git repo
git clone https://github.com/55gms/55GMS.git
- Install dependencies
cd 55GMS && npm install
- Start the program using pm2
pm2 start index.js
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