view README.txt @ 68:67bcca6e3cb1

Prevent crashes if no ttyrec files can be associated with a game. If the postprocessing step finds no ttyrec files created between a game's end and the previous game's end, it will no longer index an empty list and crash. The condition of finding no ttyrec files is still a bug that requires investigation.
author John "Elwin" Edwards
date Sat, 16 Jan 2016 02:12:50 +0000
parents 5b4ff5680037
children d8720dbc16bb
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.

py/rlgnotes is a basic blog creator.  It makes a blog (with RSS feed!) at
the URL /notes using text files as the source.  Currently experimental.

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.