greyli / twilio-whiteboard

Home Page:https://www.twilio.com/blog/collaborative-whiteboard-python-flask-twilio-sync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twilio Whiteboard

This is a simple collaborative whiteboard build with Flask and Twilio Sync.

Installation

Clone the repo and build the environment:

$ git clone https://github.com/greyli/twilio-whiteboard
$ cd twilio-whiteboard
$ python3 -m venv venv  # use "python -m venv venv" on Windows
$ . venv/bin/activate  # use "venv\Scripts\activate" on Windows
(venv) $ pip install -r requirements.txt

Rename the .env.example to .env, fill the variables in it (You will need to register a free Twilio account).

Run the application with:

(venv) $ flask run

Then open http://localhost:5000 on two or more tabs to test.

About

https://www.twilio.com/blog/collaborative-whiteboard-python-flask-twilio-sync

License:MIT License


Languages

Language:JavaScript 60.9%Language:HTML 14.5%Language:Python 14.2%Language:CSS 8.7%Language:Shell 1.7%