Skip to content
Demo of a real-time chat widget powered by Python and Pusher Channels.
JavaScript HTML CSS Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static Initial commit. Jul 23, 2018
templates Initial commit. Jul 23, 2018
.gitignore Initial commit. Jul 23, 2018
README.md Update README.md Jul 24, 2018
app.py Initial commit. Jul 23, 2018

README.md

python-pusher-chat-widget

This is a demo of a real-time chat widget powered by Python and Pusher Channels. You can read about how it was created on Pusher's blog.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software.

  • Git.
  • Python.
  • Pip.

Install

Clone the git repository on your computer or download the entire repository as a zip file and unpack in on your computer if you do not have git

After cloning the application, you need to install its dependencies.

$ cd ...

$ sudo pip install flask pusher flask-cors

Setup

  • To set the application in development environment, run the following code $ export FLASK_ENV=development

Run the application

$ flask run

Built With

  • Pusher - Hosted APIs to build realtime apps with less code
  • Python - a programming language that lets you work quickly and integrate systems more effectively
  • Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions
You can’t perform that action at this time.