https://github.com/ishankhare07/site
site implementing websockets using tornado and future implementation of mongodb
https://github.com/ishankhare07/site
Last synced: 11 months ago
JSON representation
site implementing websockets using tornado and future implementation of mongodb
- Host: GitHub
- URL: https://github.com/ishankhare07/site
- Owner: ishankhare07
- License: gpl-2.0
- Created: 2014-05-24T16:13:10.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-05-14T21:21:23.000Z (about 10 years ago)
- Last Synced: 2025-06-15T20:23:07.549Z (about 1 year ago)
- Language: Python
- Homepage: ishankhare07.github.io/website
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# site
site implementing websockets using tornado and future implementation of mongodb
# installation
1. Clone with
```shell
git clone git@github.com:ishankhare07/site.git
git clone git@github.com:ishankhare07/website.git
```
2. Setup virtualenv and start server
```shell
cd site/server;virtualenv venv; source venv/bin/activate; pip install -r requirements.txt
python main.py # start the websocket server process
```
3. Server webpage, open another terminal and navigate to `website directory`
```shell
cd website/ws/; python -m SimpleHTTPServer # start serving the web page
```
4. Open chat -> goto [http://localhost:8000/ws.html](http://localhost:8000/ws.html)