Skip to content

ryanbriones/dbc-p2-all-the-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phase 2: All the Things

Ad-hoc, realtime monitoring of a Twitter search using many of the technologies from Dev Bootcamp Phase 2.

  • Sinatra/ERB for the web interface
  • ActiveRecord for relational-database access (postgres)
  • jQuery for Event-binding, DOM Selection/Manipulation, AJAX
  • Sidekiq for background jobs

Running

Requirements

In on terminal window, run your normal Sinatra workflow:

    $ bundle
    $ shotgun

In 2 other terminals, run:

    $ redis-server

and

    $ bundle exec sidekiq -r./config/environment.rb

To use the Twitter Streaming API, make sure to set CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN and ACCESS_TOKEN_SECRET in your environment

TODO

  • Styled, more meaningful view code
  • Make JavaScript Object-Oriented
  • Make classes for some of the hairier bits of code (e.g. option Twitter env)

More Info

Ryan Briones ryan@devbootcamp.com