This repository contains example application to illustrate how to connect external chat service into Giosg platform.
You can find related tutorial from Giosg For Developers Documentation.
This project requires Python 3.8+, virtualenv and pip.
- Clone this repository:
git clone https://github.com/giosg/ext-chat-connectivity-example.git
- Make virtualenv and activate it:
mkvirtualenv ext-chat-connectivity-example --python=~/.pyenv/versions/3.8.0/bin/python
- Install Python requirements:
pip install -r requirements.txt
- Change to
ext_connectivity_example
directory and run database migrations:./manage.py migrate
- Fill in the configuration to
settings.py
. See Setting up the credentials section of tutorial. - Start development server
./manage.py runserver
. Test that it can be accessed inhttp://localhost:8000
You will also need to have publicly accessible domain for the application if you want to receive webhooks from Giosg platform. You can use Ngrok for that or you may deploy this app to some cloud host or vps.
Refer to tutorial in Giosg For Developers Documentation site to learn more how this project works.