Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greyli/catchat
A chatroom built with Flask, featured with Markdown support and code syntax highlight.
https://github.com/greyli/catchat
Last synced: 4 days ago
JSON representation
A chatroom built with Flask, featured with Markdown support and code syntax highlight.
- Host: GitHub
- URL: https://github.com/greyli/catchat
- Owner: greyli
- License: mit
- Created: 2018-07-19T15:01:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T19:51:17.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T09:08:32.464Z (5 days ago)
- Language: CSS
- Homepage: http://catchat.helloflask.com
- Size: 1.98 MB
- Stars: 161
- Watchers: 5
- Forks: 156
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CatChat
*Chatroom for coders, not cats.*
> Example application for *[Python Web Development with Flask](https://helloflask.com/en/book/1)* (《[Flask Web 开发实战](https://helloflask.com/book/1)》).
Demo: http://catchat.helloflask.com
![Screenshot](https://helloflask.com/screenshots/catchat.png)
## 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:
* email: `[email protected]`
* password: `helloflask`## License
This project is licensed under the MIT License (see the
[LICENSE](LICENSE) file for details).