- home :: github.com/sportdb/sport.db.web
- bugs :: github.com/sportdb/sport.db.web/issues
- gem :: rubygems.org/gems/sportweb
- rdoc :: rubydoc.info/gems/sportweb
- forum :: groups.google.com/group/opensport
Use the sportdb command line tool machinery to build yourself a local single-file SQLite database
from the (online) datasets from scratch (zero) using the worldcup.rb
datafile. Type in your shell:
$ mkdir worldcup
$ cd worldcup
$ sportdb new worldcup # use the worldcup.rb datafile
Type in your shell:
$ sportweb
or
$ sportweb worldcup.db
Note: The web server runs by default on port 3000
.
>> Puma starting in single mode...
>> * Version 3.11.4 (ruby 2.4.4-p296), codename: Love Song
>> * Listening on tcp://0.0.0.0:3000
>> Use Ctrl-C to stop
Open your web browser of choice (e.g. localhost:3000
)
and start browsing your open sports database
(e.g. sport.db
, football.db
, worldcup.db
, etc.).
Example - World Cup 2018 in Russia:
That's it.
Just install the gem:
$ gem install sportweb
The sportweb
scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Send them along to the Open Sports & Friends Forum/Mailing List. Thanks!