This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Installation
Kimmo Huoman edited this page Feb 27, 2014
·
22 revisions
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-dev
are required.
python-virtualenv
is 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
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
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.
Anything missing or wrong? Complain at #pyfibot @ irc.nerv.fi