Code Monkey home page Code Monkey logo

sportbook's Introduction

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!

sportbook's People

Contributors

geraldb avatar stqism avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.