Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A city alert notification system
Ruby Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
archive
config
db
doc
lib
public
script
test
.gitignore
README
README.rails
Rakefile

README

A real-time app that gives people immediate information about the
power outage (and soon, other problems) they're experiencing.

People will get the info they need even if they've never heard of
Super Cat. All tweets and posts are geo-tagged: During an outage,
search for "tweets near me".

The app also collecting historical outage data which will be displayed
graphically and be available for download.

INSTALLATION / DEVELOPMENT
It's a Rails app.  

* Configure a cron job to run the rake task every
minute.  E.g.
* * * * * cd /home/www/apps/supercat; /opt/ree/bin/rake --silent events:check_and_send

* Use archive/supercat.sql as the initial / development database
(it has the zipcode information).

* Create Twitter tokens and add them to 
config/twitter_credentials.rb:  To create the tokens, log in to 
Twitter and go to http://dev.twitter.com/apps. Register
a new app, and you'll see your token values.  Create the file
with these entries:

TWITTER_CONSUMER_KEY = '...'
TWITTER_CONSUMER_SECRET = '...'
TWITTER_ACCESS_TOKEN = '...'
TWITTER_ACCESS_TOKEN_SECRET = '...'



LICENSE 
This app and all data is licensed under the GNU Public
License.

Something went wrong with that request. Please try again.