Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Installation

Riku Lindblad edited this page Mar 2, 2016 · 22 revisions

Manually installing pyfibot to a virtualenv

Preconditions

You'll need a few system packages to install the bot; build-essential and python-dev to install Twisted. To fetch the bot from GitHub, git is required. The rest are libraries used to build some of the packages installed via pip.

You can install them all with:

sudo apt-get install git build-essential python-dev python-pip libxml2-dev libxslt-dev libssl-dev zlib1g-dev libyaml-dev libffi-dev

Install

Clone pyfibot from GitHub, setup virtualenv, upgrade tools and install requirements.

$ bin/pip install --upgrade pip setuptools virtualenv
$ git clone https://github.com/lepinkainen/pyfibot.git
$ cd pyfibot
$ virtualenv --no-site-packages .
$ bin/pip install -r requirements.txt

Starting the bot

Now you can edit the example configuration to suit your needs and rename it to config.yml

$ cp example.yml config.yml
$ $EDITOR config.yml
$ ./run.sh

Now the bot should be up and running.

Clone this wiki locally