Skip to content

Client WebChat

Keith Sterling edited this page Jan 9, 2019 · 3 revisions

Overview

The WebChat client provides a very basic HTML based chat client. The client uses a combination of the Python Flask library and some basic Javascript/Ajax on the client. It is by no way meant to be a fully features and production ready web client. Instead, it is designed to show how a web client could be integrated.

Running the Client

To run the client, use a derivative of the following script

#! /bin/sh
clear
export PYTHONPATH=../../src:../../libs/MetOffer-1.3.2:.
python3 ../../src/programy/clients/webchat/chatsrv.py --config ./config.yaml --cformat yaml --logging ./logging.yaml

Configuration Settings

Configuration settings are described in the Wiki page Web Chat Configuration

Clone this wiki locally