Skip to content

kapso/tweegeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweegeo

This is the Tweegeo application. Here's what it does -

Uses the Twitter Streaming API (https://dev.twitter.com/docs/streaming-api) to get location tagged tweets between NYC and SFO and saves the tweets to MongoDB. These tweets are then displayed on the client based on location input by the user.

Setup

Installing/Starting MongoDB:

$ brew update
$ brew install mongodb
$ sudo mkdir -p /data/db/
$ sudo chown `id -u` /data/db
$ mongod &

App Setup:

$ git clone git@github.com:kapso/tweegeo.git
$ cd tweegeo
$ rvm gemset create tweegeo
$ gem install bundler
$ bundle install
$ rake db:drop && rake db:create && rake db:create_indexes && rake db:seed
$ rails s

Start the process to stream tweets (fire up a separate shell for this):

$ export TWITTER_USER=xxxxxx
$ export TWITTER_PWD=xxxxxx
$ rake app:fetch_tweets

Testing

$ rake spec

Deployment

The application is Heroku enabled. See Procfile and config/mongoid.yml for details.

About

Tweets by geo-location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published