Skip to content

frommie/rasahub-humhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rasahub-Humhub

image

Rasahub-Humhub 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:
  package: 'rasahub_humhub'
  init:
    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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages