A tutorial to showcase realtime functionality of Pusher Channels in Ruby
$ git clone https://github.com/9jaswag/pusher-locations.git
$ cd pusher-locations
$ 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
- Pusher - A Ruby gem to interact with the Pusher REST API