Eric-Guo / pgac_demo

Rails 7.1 Action Cable chat room using AnyCable as backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action Cable Demo on AnyCable

Install AnyCable & Redis using Homebrew

brew install anycable-go redis

Running

brew services start redis
overmind start -f Procfile.dev

Testing

acli --url=ws://localhost:8080/cable --channel=RoomChannel
\p speak message:from_console_test
^d

Testing in Browser

Visit https://play.anycable.io/ and type wss://pgac.redwoodjs.cn:3334/cable.

About

Rails 7.1 Action Cable chat room using AnyCable as backend

License:The Unlicense


Languages

Language:Ruby 76.3%Language:HTML 12.9%Language:Dockerfile 4.0%Language:CoffeeScript 2.6%Language:JavaScript 1.8%Language:CSS 1.6%Language:Shell 0.4%Language:SCSS 0.4%