Skip to content

InnoSWP/sustomer-susport

Repository files navigation

Seamless Customer Support

python ts-compile

Description and features list

An open-source web-application easily embeddable into customer's service for seamless usability both for clients (people who ask the questions) and volunteers (people who answer questions)

For that purpose we provide

  • embeddable (via iframe) website
  • API for bots
  • semantic text parsing (to recognize already asked questions and show answers for them)

Technologies stack

Project installation

Using docker compose

  • go to the project root docker compose up
  • wait for initial building
  • to stop
  • press ^C for a few times or docker compose down

without docker compose

you need

  • python ~= 3.10
  • pip corresponding to your python version

Add telegram token

  • move to bot directory

cd ./telegram_server

  • copy .env.tpl

cp .env.tpl .env

  • add your token to .env file (Use any text editor)

vim .env

  • go back to project root

cd ..

Add firebase token

Create an environment variable firebase_key and set its value to either:

  • path to .json token
  • token data in json format

Install python requirements

  • you may wish to use python virtual env
  • install dependencies via pip

pip install -r requirements.txt

How to use

Run server

python ./master_router.py

For developers

  • we provide run.sh script and ts.config to automate process of recompiling
  • if you write on js, be aware, script deletes content of ./flask_server/static/js

Demo

Photo