Skip to content
This repository has been archived by the owner on Sep 29, 2018. It is now read-only.

Latest commit

 

History

History
50 lines (26 loc) · 585 Bytes

README.md

File metadata and controls

50 lines (26 loc) · 585 Bytes

firehose-sinatra-chat-example

firehose/sinatra/datamapper/backbone/redis chat server example

PRE-REQS

  • Ruby

http://www.ruby-lang.org/en/

I like rvm ( https://rvm.io/ ).

  • bundler gem

    $ gem install bundler

  • Redis

Ubuntu

  $ sudo apt-get install redis-server

OSX

  $ brew install redis
  • sqlite3

Ubuntu

  $ sudo apt-get install libsqlite3-dev

OSX

  $ brew install sqlite

DEPENDENCIES

$ bundle install

RUNNING

First time:

$ rake db:create

Every time:

$ foreman start