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
Riku Lindblad edited this page Mar 2, 2016
·
22 revisions
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
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
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