文件名称:tornado-chat:与龙卷风和 websockets 的简单聊天
文件大小:67KB
文件格式:ZIP
更新时间:2024-07-30 11:33:30
Python
与龙卷风聊天 与 tornado、websockets、elasticsearch 和 angularjs 进行简单聊天。 用法 安装 要求 弹性搜索 节点 凉亭 pip 包: 弹性搜索-py 龙卷风 要安装依赖项: bower install npm install 运行应用程序 gulp (serve) # run the tornado app and watch for styles & scripts gulp build # build scripts & styles gulp runserver # run the tornado server gulp watch # watch styles & scripts 应用程序接口 聊天室 创建一个新的聊天室 POST /chatrooms { " title " : " test "
【文件预览】:
tornado-chat-master
----index.html(2KB)
----coffee()
--------app.coffee(4KB)
----bower.json(392B)
----test.py(3KB)
----angular_templates()
--------home.html(821B)
--------chatroom.html(879B)
----app.py(4KB)
----README.md(1KB)
----screenshots()
--------home.png(33KB)
--------chatroom.png(36KB)
----.gitignore(67B)
----sass()
--------app.sass(824B)
----gulpfile.coffee(952B)
----package.json(661B)