Skip to content

A chatroom built with Flask, featured with Markdown support and code syntax highlight.

License

Notifications You must be signed in to change notification settings

Imsovegetable/catchat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatChat

Chatroom for coders, not cats.

Example application for Python Web Development with Flask (《Flask Web 开发实战》).

Demo: http://catchat.helloflask.com

Screenshot

Installation

clone:

$ git clone https://github.com/greyli/catchat.git
$ cd catchat

create & activate virtual env then install dependency:

with venv/virtualenv + pip:

$ python -m venv env  # use `virtualenv env` for Python2, use `python3 ...` for Python3 on Linux & macOS
$ source env/bin/activate  # use `env\Scripts\activate` on Windows
$ pip install -r requirements.txt

or with Pipenv:

$ pipenv install --dev
$ pipenv shell

generate fake data then run:

$ flask forge
$ flask run
* Running on http://127.0.0.1:5000/

Test account:

License

This project is licensed under the MIT License (see the LICENSE file for details).

About

A chatroom built with Flask, featured with Markdown support and code syntax highlight.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 50.8%
  • JavaScript 47.4%
  • Python 1.1%
  • HTML 0.7%