Giter VIP home page Giter VIP logo

pusher-live-feeds's Introduction

Build a realtime feed 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-live-feeds.git

Change directory

$ cd pusher-live-feeds

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

pusher-live-feeds's People

Contributors

9jaswag avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.