Skip to content

9jaswag/pusher-chat-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a live chat widget with Ruby and Pusher Channels

A tutorial to showcase realtime functionality of Pusher Channels in Ruby

View tutorial

Getting Started

Clone The Repository

$ git clone https://github.com/9jaswag/pusher-chat-widget.git

Change directory

$ cd pusher-widget

Install dependencies

$ bundle install

Setup up database

$ rails db:setup $ rails db:migrate

Setup up Figaro and Env variables

  • Run $ figaro install to automatically generate application.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'

Prerequisites

A basic knowledge of Ruby, PostgreSQL and CoffeeScript

Built With

  • Pusher - A Ruby gem to interact with the Pusher REST API

About

a simple chat widget built with Ruby and Pusher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages