Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Hot or Not of the Wikipedia contributors.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Procfile
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README
Vote on wikipedia solicitors.

## TODO

Before production:

 - goog analytics √
 - page caching
 - tweet button with bitly link and revised text
 - hat promo √ (looks ghetto but there)
 - lock down security of methods √
 - model validation (not nulls) √
 - make Contender lookup/randomization more efficient? (in memory versus postgres?)
 
 
## TO RUN LOCALLY
 
(E.g. instructions for collaborators.)
 
To get going, after cloning the repo do the following:
 
    bundle install  #get all needed gems and versions of rails up and going
    rake db:migrate #set up the local db
    rake db:seed    #load in the seed data to db (e.g. the contenders)

To run locally, use `foreman start`.

The contenders are stored in `/db/seeds.rb`.  I'm lazy and just use `uname` as the unique key for the filenames for the associated images for a contender.
Something went wrong with that request. Please try again.