rasahub-humhub

Humhub connector for Rasahub


Keywords
rasahub, humhub
License
MIT
Install
pip install rasahub-humhub==0.3.1

Documentation

Rasahub-Humhub

https://travis-ci.org/frommie/rasahub-humhub.svg?branch=master

Rasahub-Humhubs implements a connector between Rasahub and Humhub Mail .


Prerequisites

  • Python installed
  • Humhub database access (if remote: make sure you have port 3306 opened)
  • Bots Humhub User Group created (name 'Bots')
  • Assign Bot User to Bots User Group in Humhub Backend

Installation

Pypi package

Install via pip:

pip install rasahub-humhub

Usage

Create configuration

Create file config.yml in working path. Example:

humhub:
  host: '127.0.0.1'
  port: 3306
  dbname: 'humhub'
  dbuser: 'humhubuser'
  dbpasswd: 'humhub123'
  trigger: '!bot'

Command-Line API

Start rasahub:

python -m rasahub

Testing

Prerequisites:

  • mysql-server installed
  • testing dependencies installed: pip install .[test]

Run Test:

python -m pytest tests/
  • License: MIT
  • PyPi - package installation