Installation

Jitsi

Bot-Orchestrator uses jitsi as backend for conference calls. Please refer to jitsi documentation for how to set up a self-hosted instance

Deployment

Bot-Orchestrator was deployed to production on University of Gothenburgs openshift platform. Secure communication setting like TSL and CORS are configured with openshift routing. Please see openshift docs for routing setup.

Other deployment options are of course possible.

Run locally with docker

First clone the repository: git clone https://github.com/Segerberg/Bot-Orchestrator.git

and navigate to the cloned project: cd Bot-Orchestrator

then build the image by running: docker build -t bots:latest .

Spin it up by running: docker run --name bots -d -p 8000:5000 -e SECRET_KEY=my_very_secret_key --rm bots:latest

Point your browser at http://127.0.0.1:8000

Environment variables

Environment variables can be set either by .env or .flaskenv if you run dev or non docker deployment.

The DOMAIN ENV is used to point out the domain name(s) for the jitsi instance(s) that should be used

SECRET_KEY = 'A long random string'

DOMAINS = 'my.first.jtisi.com,my.second.jitsi.com'

Installation scripts

create_user.py is used to create system users. Execute python create_user.py and fill in username and password when prompted.

install_default_bots.py is used to batch load the system with bots. The script takes a csv-file as input with the following columns name,year_of_birth,sex

Execute python install_default_bots.py bots.csv

Fork me on GitHub