Project

sportweb

0.0
No commit activity in last 3 years
No release in over 3 years
sportweb - instant open sports web admin browser command line tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.16
~> 4.0

Runtime

= 5.2.0
= 5.2.0
= 5.2.0
= 9.0.0
= 3.2.3
= 1.0.4
= 0.2.5
= 1.7.1
= 0.4.5
= 1.9.25
= 0.4.1
= 1.0.1
= 0.1.0
= 0.6.1
= 2.2.2
= 5.11.3
= 1.0.2
= 1.8.3
= 1.2.0
= 3.11.4
= 2.0.5
= 1.0.0
= 5.2.0
= 12.3.1
= 0.10.3
= 0.9.10
= 1.2.1
= 3.5.6
= 5.0.7
= 2.0.3
= 3.7.2
= 1.3.13
= 1.0.0
= 1.4.0
= 0.20.0
= 2.0.8
= 1.2.5
= 1.2018.5
 Project Readme

sportweb gem - instant open sports web admin browser command line tool

Usage

Step 0: Build yourself a local worldcup database from scratch (zero).

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   

Step 1: Start the instant web server.

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

Step 2: Open your web browser.

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.

Install

Just install the gem:

$ gem install sportweb

License

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

Questions? Comments?

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