=-=-= Office Tournament v1.1 =-=-=-=-=-=-=-=-=-=-=-=
=-= Written and Maintained by Sebastian Barthelmess =-= w/ original ranking system by Tom Harms.
Pre-requisites
Apache and Linux STRONGLY advised!
For this script to work you need the Imager and Imager::Graph::Pie libraries from CPAN installed. Do a:
perl -MCPAN -X -e "install Imager" and
perl -MCPAN -X -e "install Imager::Graph::Pie"
I have had no luck with enabling the experimental GIF support, it's unneeded for this application anyway.
Installation
Copy the html directory to an accessible directory on your webserver (something like /var/www/htdocs/tourney). You are welcome to use the images provided, but they are merely a template that worked for our foosball tournaments.
Copy the cgi-bin directory to a cgi-bin on your webserver. And make sure the access privileges are executable (if you're not too concerned about security, a 'chmod 755' should work fine for tourney.* in the cgi-bin dir). Also you MUST edit the tourney.cfg file and set it up for your server's settings, and adjust the @players array to reflect your list of players.
Finally, point your browser to "http://YOURSERVER/cgi-bin/tourney.cgi". This will update the html file and generate a nice graph. The "manager" can use tourney.cgi, and the "readonly" view is created at the config file's setting, eg. "http://YOURSERVER/tourney/tourney.html". We found in our setting, that we just had one person manage the entry of the games, that way there are no duplicate entries. Someday I'll do user authentication and some sanity checking on duplicate entries (the dev branch had some of this, but I just don't have time now).
HINTS: Make sure the file "$filename" parameter in tourney.cfg actually exists,
or you will get an error after submitting the file. This is because the
web server doesn't usually have create permissions in the html dirs.
License
Please enjoy this software freely, but understand the authors reserve the right at any time to change the license.
Licensed under a restricted GPL. Microsoft sucks.
