ocl-reporter
converts a directory of files containing project and people
information into a set of web pages for OCaml Labs.
It's currently not intended for external use (mainly because it was hacked together at high speed for purpose), but we do intend to evolve it into a more general purpose reporting tool for other projects too.
- Edit the data in
lib/
with your changes. The interesting files are indata*.ml
. Verify your changes withmake run
. - The web pages need to be run through
ucampas
to add the Cambridge styling, tomake www
will do that. This will change the contents of thepages
directory only, so commit those results too. - A cron job runs every hour on
cron-serv0.cl.cam.ac.uk
to sync the contents ofpages/
with the live directory. That server doesnt run any code, so it just runs themake cron
target to rsync files.
docker build -t ocl-reporter .
docker run -v `pwd`:/home/opam/src