-
Notifications
You must be signed in to change notification settings - Fork 249
Installing on *nix
Download CloudBot from https://github.com/CloudBotIRC/CloudBot/zipball/master.zip and unzip, or execute the following commands:
curl -Ls https://github.com/CloudBotIRC/CloudBot/archive/master.zip > CloudBot.zip
unzip CloudBot.zip
cd CloudBot-master
Alternately, you can also clone CloudBot by using:
git clone https://github.com/CloudBotIRC/CloudBot.git
cd CloudBot
All of CloudBot's python dependencies are stored in the requirements.txt
file, and can be installed with pip.
But first, you will need git
, python3.5-dev
and libenchant1c2a
, libxml2-dev
, libxslt-dev
and zlib1g-dev
. Install these with your system's package manager.
For example, on a Debian-based system, you could use:
[sudo] apt-get install -y python3.5-dev git libenchant-dev libxml2-dev libxslt-dev zlib1g-dev
Now we can install a python3.5 version of pip using the following command:
curl -Ls https://bootstrap.pypa.io/get-pip.py | [sudo] python3.5
Note that you need a python 3.5 version of pip, which is why we recommend using get-pip.py rather than installing python-pip or python3-pip in your system's package manager.
Finally, install the python dependencies using pip
using the following command in the CloudBot directory:
pip install -r requirements.txt