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
Henri Salo edited this page Dec 29, 2019
·
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 python-virtualenv libxml2-dev libxslt-dev libssl-dev zlib1g-dev libyaml-dev libffi-dev pipenv
Clone pyfibot from GitHub, setup virtualenv, upgrade tools and install requirements.
$ git clone https://github.com/lepinkainen/pyfibot.git
$ cd pyfibot
$ pipenv install
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
$ pipenv run pyfibot/pyfibot.py config.yml
Now the bot should be up and running.
Edit the example configuration file and save it to the docker host.
Get the docker image:
docker pull lepinkainen/pyfibot
Run it:
docker run -v /path/to/config.yml/:/config lepinkainen/pyfibot
Done!
Anything missing or wrong? Complain at #pyfibot @ irc.nerv.fi