sportbook web app - free open source sports betting (or prediction) pool in ruby on rails (version 3.2 and up)
Ruby JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin add folders for engines - admin,pubsub Aug 9, 2014
app up cl 2014/15 Sep 8, 2014
attic update seeds Nov 1, 2013
config up schema Mar 31, 2014
db up demo setup Sep 29, 2014
lib up round of 16 Jun 27, 2014
log some polish Mar 6, 2012
public up demo setup Sep 29, 2014
pubsub add folders for engines - admin,pubsub Aug 9, 2014
script some polish Mar 6, 2012
.gitignore add superbowl / nfl setup Dec 24, 2013
Gemfile up demo setup Sep 29, 2014
Gemfile.lock up demo setup Sep 29, 2014
NOTES.md up gemfile Feb 18, 2014
README.md Update README.md Dec 28, 2013
Rakefile cleanup game Aug 21, 2013
TODO.md up backup data Apr 21, 2014
config.ru cleanup game Aug 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!