Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple instant run-off web app designed for beer purchase prioritization amongst a group of people.

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 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rbenv-version
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md
B double-E double-R U N: Beer Run!
B double-E double-R U N: Beer Run!
All we need is a ten and a fiver,
A car and a key and a sober driver.
B double-E double-R U N: Beer Run!

-- Todd Snider, "Beer Run"

Beer Run

Each user nominates a prioritized list of their five favorite beers. Beer Run then uses a Borda count with truncated ballots and multiple winners to generate a list of beers prioritized for maximum average happiness amongst voters. Enough jargon for you? The point is, it makes an awesome list of everyone's favorite beers and you can buy beer that will make the group happy.

Why?!?

Mostly because after RailsConf 2011, we were excited to try out some new libraries we'd heard about and some Rails 3.1 features, so we thought up a simple app to play around with them.

Help?

Totally:

  1. Fork the project.
  2. Branch off master.
  3. Write some tests.
  4. Make 'em pass.
  5. Send pull request.
  6. Have a beer.

Setting Up a Dev Environment

Beer Run uses Ruby 1.9.2 and Postgresql. Install those from whichever source you love the most.

Install gems:

$ bundle install

Set up the database:

$ rake db:setup

Run specs:

# rake spec

If everything's green, you should be good to go.

License

This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file or http://sam.zoy.org/wtfpl for more details.

Something went wrong with that request. Please try again.