Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heroku-examples/ruby-websockets-chat-demo
https://github.com/heroku-examples/ruby-websockets-chat-demo
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/heroku-examples/ruby-websockets-chat-demo
- Owner: heroku-examples
- Created: 2013-10-02T22:27:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-01T18:20:52.000Z (over 9 years ago)
- Last Synced: 2024-04-14T18:35:55.447Z (10 months ago)
- Language: Ruby
- Size: 12.1 MB
- Stars: 95
- Watchers: 7
- Forks: 73
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby WebSockets Chat Demo
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
This is a simple application that serves tasty WebSockets to your users with [faye-websocket](https://github.com/faye/faye-websocket-ruby), [Puma](https://github.com/puma/puma), and [Sinatra](https://github.com/sinatra/sinatra).
Check out the [live demo](http://ruby-websockets-chat.herokuapp.com/) or [read the docs](https://devcenter.heroku.com/articles/ruby-websockets).
## Setup
To install all the dependencies, run:```
bundle install
```Next the app requires some env vars for configuration. A sample `.env.sample` is provided for running the app locally. You can copy `.env.sample` to `.env` which foreman will pick up.
Using foreman we can boot the application.
```
$ foreman start
```You can now visit to see the application.