No commit activity in last 3 years
No release in over 3 years
Generate a skeleton of WebSocket application with Ruby(Sinatra)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

>= 0
 Project Readme

SinatraWebsocketTemplate

SinatraWebsocketTemplate is for generating a skeleton of WebSocket application with Ruby(Sinatra)

A concept of the skeleton code is inspired by the following article:

Using WebSockets on Heroku with Ruby | Heroku Dev Center

Installation

$ gem install sinatra_websocket_template

Usage

4 steps to run a skeleton demo application;

$ sinatra_websocket_template new YOUR_PROJECT_NAME

$ cd YOUR_PROJECT_NAME

$ bundle install

$ bundle exec foreman start

Open http://localhost:5000 to review it, then modify it as you like.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request