Skip to content

Installation guide

Mstiekema edited this page Jan 2, 2017 · 28 revisions

How to install Yucibot

Step 1: Make a folder for the bot

You can make it wherever you want it to be, just don't lose track of it.

Step 2: Fetch the repository

You can download it from the main repo page, or you can use the command line if you are on a VPS

git clone https://github.com/Mstiekema/Yucibot.git .

Step 3: Install node.js

Go to nodejs.org and follow the installing process. After you finish installing, open up your cmd, go to your project folder and type the following code to initialize node.js and it's packages

npm install

Step 4: Install mysql

Linux:

sudo apt-get install mysql-server

Windows:

Go to https://dev.mysql.com/downloads/installer/ and download the installer. Go through the installation process and install the mysql-server

Step 5: Installation

Open the example.config.js file and fill in your data. Don't forget to change the file name to config.js. After this you should run the installation file

node install.js

Step 6: Run the bot

Start the bot by typing

node app.js

Clone this wiki locally