view README.txt @ 50:4549b3c0cd28

rlgall.py: add time selection to Game.getHigh(). Optional inittime and finaltime parameters set the range of time over which to calculate high scores.
author John "Elwin" Edwards
date Fri, 28 Mar 2014 09:33:49 -0700
parents 1951f59156e4
children 5b4ff5680037
line wrap: on
line source

RLG: various files used by the Roguelike Gallery.

dgl/ contains the Gallery's dgamelaunch.conf file, the dgamelaunch menus, and 
a patch to the Git version of dgamelaunch.  The patch makes it compatible with 
the RLGWebD player and adds properly salted passwords.

lighttpd/ contains the configuration files for lighttpd which have been 
modified from the distribution versions (current version 1.4.34).

py/ contains various Python scripts.  Python 3 is required.  The dependencies
needed are psycopg2 and pytz.

py/recorder.py processes the log files and stores the data in a PostgreSQL
database.  It should be run periodically by cron.

py/stats2.py does some statistical calculations and creates SVG charts which 
are included in the Web pages.  It should be run from cron, daily or so.

py/rlgall.py is a module which recorder.py requires.  It should be installed
in /lib/python<x.y>/site-packages or the equivalent location.

web/ contains the static parts of the rlgallery.org website.  Note that when 
installed, scoring/ needs to be writable by whatever user is running the 
recorder.py script.