Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hooopo/websocket_sinatra_demo
websocket sinatra demo
https://github.com/hooopo/websocket_sinatra_demo
Last synced: 14 days ago
JSON representation
websocket sinatra demo
- Host: GitHub
- URL: https://github.com/hooopo/websocket_sinatra_demo
- Owner: hooopo
- Created: 2011-06-04T12:23:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-04T12:35:26.000Z (over 13 years ago)
- Last Synced: 2024-10-18T17:40:21.672Z (26 days ago)
- Language: Ruby
- Homepage:
- Size: 88.9 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##Requeirements
gem install oa-oauth dm-core dm-sqlite-adapter dm-migrations sinatra erb
gem install eventmachine em-websocket json##Usage
To start it up, fire up the Sinatra app:cd websocket-demo
ruby ./application.rbRemember to also fire up the websocket server:
ruby lib/websocket.rb
Point your browser to http://localhost:4567/ (or wherever you put it) and
that's it.