Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
:love_hotel: Hot or Not of the Wikipedia contributors.
JavaScript Ruby CoffeeScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
Procfile
README
Rakefile
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.