Linux Installation
Documentation on how to run Discord Bot on Linux System (VPS).
Before continuing with this Page you'll need to properly Configure your config.yml
& commands.yml
files. Also for this you'll need Dependencies from Last Section. After you've installed all of them successfully, come back to this section.
If you're gonna start bot with pm2
make sure you're not starting him with --watch
flag!
These are steps you need to follow in order to install Bot Successfully.
Log into your VPS
cd
into directory where are your files. 2.1 Make sure you're on Node 16.9 by runningnode -v
, if not follow steps below on how to update NodeJS.Run Command
npm install
to install node modules.After it's finished start the bot. 4.1 If using PM2 (recommended) use
pm2 start index.js --time
4.2 If not using PM2 usenode index.js
How to update NodeJS?
Install 'n' using
npm install -g n
Update Node to desired version 2.1 Update Node to stable version (recommended) using
n stable
2.2 Update Node to latest version usingn latest
If you encounter any issues during installation feel free to join Support Server and ask for help.
Last updated