9jaswag / pusher-chat

A chat application built using Rails and Pusher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build a chat app with Ruby on Rails 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.git

Change directory

$ cd pusher-chat

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 chat application built using Rails and Pusher


Languages

Language:Ruby 70.5%Language:HTML 22.9%Language:CSS 3.5%Language:JavaScript 3.1%