From 5edf8d65ab10e95036ccd3b543c6a8b7efecd0e5 Mon Sep 17 00:00:00 2001 From: sillygod Date: Sun, 26 Jun 2016 17:50:41 +0800 Subject: [PATCH] write readme file --- examples/django_chat/readme.md | 18 ++++++++++++++++++ examples/django_chat/requirement.txt | 3 +++ 2 files changed, 21 insertions(+) diff --git a/examples/django_chat/readme.md b/examples/django_chat/readme.md index e69de29..54ed9d9 100644 --- a/examples/django_chat/readme.md +++ b/examples/django_chat/readme.md @@ -0,0 +1,18 @@ +# python-socketio with django example + +This example is for who wants to use django with pyton-socketio. Some truck used in this example is inspired by gevent-socketio. + +# How to Setup + +```sh +pip install -r requirement.txt +python manage.py migrate +``` + +# How to Run + +```sh +python manage.py runserver_socketio +``` + +open http://127.0.0.1:8000/ with your browser to see the result diff --git a/examples/django_chat/requirement.txt b/examples/django_chat/requirement.txt index e69de29..57cfa47 100644 --- a/examples/django_chat/requirement.txt +++ b/examples/django_chat/requirement.txt @@ -0,0 +1,3 @@ +Django<1.9 +eventlet +python-socketio