Skip to content

chriswnl/websockets-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websockets/ActionCable demo app

My sample app, 'cabletest1', for using ActionCable and websockets with Redis to keep a connection open.

This app is the chatoom app from a heroku blog post with a couple of minor modifications.

Have a go

Clone it.

rails db:migrate
rails db:seed

rails server -p3333 

You don't have to use port 3333 but if you don't, you'll need to change the ports in config/environments/development.rb at the bottom of that file. Also, if you don't have your own Redis server running locally, change config/cable.yml to the 'async' setting in development.

About

Quick chat app demos use of ActionCable. Very simple.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published