A tutorial to showcase realtime functionality of Pusher Channels in Ruby
$ git clone https://github.com/9jaswag/pusher-online-presence.git
$ cd pusher-online-presence
$ bundle install
$ rails db:setup
$ rails db:migrate
- Run
$ figaro install
to automatically generateapplication.yml
file. - Open
config/application.yml
and replace the content (if any) with the following:
PUSHER_APP_ID: 'your Pusher app ID'
PUSHER_KEY: 'your pusher kep'
PUSHER_SECRET: 'your pusher secret'
PUSHER_CLUSTER: 'your pusher cluster'
A basic knowledge of Ruby and CoffeeScript