Skip to content

Installation

Enzo Besnainou edited this page Jun 15, 2018 · 29 revisions

This guide assume you have Python 3.4 or higher installed already. Python 2.x, 3.3 or below is not supported.

In this tutorial WarezBot will be installed in /app/WarezBot


Operating Systems available:


Linux

  • Open Terminal

  • Install required

    • $ sudo python3 -m pip install -r requirements.txt
  • Install Git

    • Ubuntu: $ sudo apt-get install git
    • RedHat/CentOS : $ sudo yum install git
  • Type the following commands:

$ git clone https://github.com/enzobes/WarezBot.git
$ cd WarezBot
$ python3 WarezBot.py -k YOUR_LAYER13_API_KEY -b YOUR_DISCORD_BOT_TOKEN

Docker

You can install WarezBot on device that support Docker or Kitematic with the official Docker Container

To run container in CLI:

$ docker pull enzobes/warezbot
$ docker run -d --name warezbot -e LAYER13_API=YOUR_API_KEY -e TOKEN_BOT=YOUR_DISCORD_BOT_TOKEN  enzobes/warezbot:latest

To build container from GitHub repo:

Installation directory : /app/Warezbot

  • Open Terminal

  • Install Git

    • Ubuntu: $ sudo apt-get install git
    • RedHat/CentOS : $ sudo yum install git
  • Type the following commands:

$ git clone https://github.com/enzobes/WarezBot.git
$ cd WarezBot
$ docker build -t warezbot:latest .
$ docker run -d --name warezbot -e LAYER13_API:YOUR_API_KEY -e TOKEN_BOT=YOUR_DISCORD_BOT_TOKEN  enzobes/warezbot:latest 
  • If you using Kitematic don't forget to put your layer13 api key and your bot token in Environment Variables:

See here

Windows

Try Docker with Kitematic it's a beautiful thing !

Clone this wiki locally