Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

sportbook web app - free open source sports betting (or prediction) pool in ruby on rails (version 3.2 and up)

branch: master

up schema

latest commit b9f2b23518
Gerald Bauer geraldb authored
Octocat-spinner-32 app up schema April 01, 2014
Octocat-spinner-32 attic update seeds November 01, 2013
Octocat-spinner-32 config up schema April 01, 2014
Octocat-spinner-32 db up schema April 01, 2014
Octocat-spinner-32 lib up gemfile February 17, 2014
Octocat-spinner-32 log some polish March 06, 2012
Octocat-spinner-32 public add team logo helper August 10, 2013
Octocat-spinner-32 script some polish March 06, 2012
Octocat-spinner-32 .gitignore add superbowl / nfl setup December 23, 2013
Octocat-spinner-32 Gemfile up schema April 01, 2014
Octocat-spinner-32 Gemfile.lock up schema April 01, 2014
Octocat-spinner-32 NOTES.md up gemfile February 17, 2014
Octocat-spinner-32 README.md Update README.md December 28, 2013
Octocat-spinner-32 Rakefile cleanup game August 21, 2013
Octocat-spinner-32 TODO.md add team logo helper August 10, 2013
Octocat-spinner-32 config.ru cleanup game August 21, 2013
README.md

Welcome to Sportbook

A free open source web app for sports betting (or prediction) pools in Ruby on Rails (version 3.2 and up).

Example tournaments and leagues include:

  • UEFA Champions League
  • UEFA Europa League
  • Deutsche Bundesliga
  • English Premier League
  • México Primera División
  • FIFA World Cup & Quali
  • UEFA Euro Cup

For more football tournaments or leagues, see the football.db site.

  • National Football League (NFL)
  • National Hockey League (NHL)

For more tournaments or leagues, see the sport.db site.

Demos

Try the demo installs running on Heroku. Use the login credentials demo/demo.

Setup

Setup on your local machine

Clone the Sportbook git repo:

git clone git://github.com/openbookie/sportbook.git

Get all your Ruby libraries (gems) installed using the bundler tool:

cd sportbook
bundle install --without production

Note, use the --without production option for local development unless you want to install the PostgreSQL (pg) database libraries and services (required for production on the Heroku hosting service.)

Setup the database and seeds:

rake db:setup

Showtime! Startup the server and use the demo/demo credentials to sign in:

rails server

That's it.

Setup on Heroku

Clone the Sportbook git repo:

git clone git://github.com/openbookie/sportbook.git

Create app on Heroku e.g.

cd sportbook
heroku create <your_app_name_here>

Upload via

git push heroku

Create DB on first upload via

heroku run rake db:setup

Showtime! Sign in using the demo/demo credentials. That's it.

License

The sportbook scripts and templates are dedicated to the public domain. Use it as you please with no restrictions whatsoever.

Questions? Comments?

Send them along to the Open Sports Database & Friends Forum/Mailing List. Thanks!

Something went wrong with that request. Please try again.