Installation
Askilator is currently in BETA. While it is already operating in a few high-traffic servers there is always room for improvement. However all future changes should happen without data loss.
Step-by-step
First of all clone the github repository (private in BETA) to a folder of your choice.
Run
npm installin the root directory, all the necessary packages should get installed with that.Rename
config-example.jsontoconfig.jsonand fill in necessary data.Set up your database with
setup.sqlindbfolder.Start Askilator with the
node askilator.jscommand.
Always online
It is possible to run Askilator 24/7 and have it restart on crash/error, this can be done through the pm2 package. It will monitor and restart the bot on crash, plus a few other things found in the earlier link.
Install PM2 globally with
npm install pm2@latest -g.Run Askilator through PM2 with
pm2 start askilator.js --name "Askilator".
Last updated
Was this helpful?