GithubHelp home page GithubHelp logo

faye-client-with-security's Introduction

Faye client server and app

Starting from sinatra-bootstrap from github.

The index page is a simple chat session whose connection point is a Faye server that is running on heroku. Additionally, we have the sinatra app setup to listen to one of the test channels as well.

You'll need to update the source code replacing FAYE_SERVER_URL with the full url (with port) to the location of your Faye Server. If you don't have a server, check out the companion project http://github.com/bunnymatic/faye-server-heroku.

Requirements

Since we're looking at Heroku for deployment and we need ruby 1.9.3 for threading, we need to use Bundler >= 1.2.0pre . To install bundler 1.2.0pre, follow these instructions (ripped from [here](http://railsapps.github.com/installing-rails.html]

% rvm gemset use global
% gem uninstall -ax bundler
% gem install bundler --pre
% bundle --version

Local Deploy

Assuming you've got the new bundler:

% git clone https://github.com/bunnymatic/faye-client-with-security
% cd faye-client-with-security
% bundle install
% bundle exec rackup

faye-client-with-security's People

Stargazers

 avatar

Watchers

 avatar  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.