Demo installationΒΆ

Install OS specific packages:

# Ubuntu
sudo apt-get install python-virtualenv python-pip

# CentOS
sudo yum install python-virtualenv python-pip

# OS X
brew install python

Create project directory and virtual environment:

mkdir ~/my-bot && cd ~/my-bot
virtualenv venv
. venv/bin/activate

Install stable package from PyPi:

pip install mattermost_bot

Create settings file with the following lines:

DEBUG = True
BOT_URL = ''

Run your bot by following command:

MATTERMOST_BOT_SETTINGS_MODULE=mattermost_bot_settings matterbot