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

Installation

Kimmo Huoman edited this page Feb 27, 2014 · 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. Additionally IMDb integration and title fetching need lxml, so both libxml2-dev and libxslt-devare required. python-virtualenvis required, as it's the preferred (and only supported) method of installation. To fetch the bot from GitHub, git-core is required.

You can install them all with:

sudo apt-get install build-essential python-dev libxml2-dev libxslt-dev libssl-dev zlib1g-dev git-core python-virtualenv

Install

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

$ git clone git://github.com/lepinkainen/pyfibot.git
$ cd pyfibot
$ virtualenv --no-site-packages .
$ bin/pip install --upgrade pip setuptools
$ 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