code:vxmppb:install:npm
Table of Contents
VXMPPB
NPM
Create App Directory
mkdir ~/vxmppb/ && cd ~/vxmppb/
Install!
npm i --prefix ./ vxmppb
How To Configure vXMPPb
Backup Template
cp ./node_modules/vxmppb/config.ini.dist ./config.ini
Edit Details
nano config.ini
General Bot Configuration
You're done!!!
Now, RUN!
nodejs ./node_modules/vxmppb/index.js
To keep this script running in the background you can use screen or tmux! If you don't have them installed, just run it in the background using this command;
nohup nodejs ./node_modules/vxmppb/index.js > /dev/null 2>&1 & echo $! > /tmp/vxmppb.pid
To kill the bot, simply type
kill $(cat /tmp/vxmppb.pid)
code/vxmppb/install/npm.txt · Last modified: 2023/12/14 17:08 by stephen