bluegod / ruby-websockets-chat-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby WebSockets Chat Demo

Deploy

This is a simple application that serves tasty WebSockets to your users with faye-websocket, Puma, and Sinatra.

Check out the live demo or read the docs.

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 http://localhost:5000 to see the application.

About


Languages

Language:Ruby 52.8%Language:HTML 46.2%Language:CSS 1.1%