Skip to content

yemiwebby/pusher-rails-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a realtime graph with Ruby on Rails and Pusher channels

A demo of a realtime graph application built with Ruby on Rails and Pusher.

Screenshot of the demo app

ruby-graph

Getting Started

Clone the repository

$ git clone https://github.com/yemiwebby/pusher-rails-chart.git

Change directory

$ cd pusher-rails-chart

Install dependencies

$ bundle install

Setup database

$ rails db:setup $ rails db:migrate

Setup 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 and CoffeeScript

Built With

  • Rails - Rails is a web application framework running on the Ruby programming language.

  • Pusher - A Node.js client to interact with the Pusher REST API

  • Chartkick - A library for creating beautiful JavaScript charts with one line of Ruby

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published