From b300254ee1f308c440d8e8d8129fb863b6ec9599 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Dec 2012 16:05:36 +0330 Subject: Making the legacy more useful Added a brief installation guide in README along with etc config file samples. Added a couple of useful start and kill scripts in utils folder. Added two sample problems (one normal one interactive) along with testers in utils folder. --- README | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 4bf59ef..7d4c5d0 100644 --- a/README +++ b/README @@ -6,13 +6,40 @@ TO BE COMPLETED, asap! Install & Configuration + First, install Fedora Linux or something close! + Edit /etc files according to the ones is etc directory of judge. They + are the settings responsible for jailing and limitations. + Edit utils/setenv.sh and set your judge directory in it, then run it. + + Now build a jail. You can find our prepared jail at: + https://github.com/jux-foundation/hellijudge-jail + or you can build your own, but remember to add compiler scripts from + our repo. + + Based on your own configuration, do the following: + mkdir /mnt/jail/home + mkdir /mnt/jail/source + ln -s /mnt/jail $JUDGE_PREFIX/jail + + mkdir /var/log/jury + ln -s /var/log/jury $JUDGE_PREFIX/log + + Start the daemon, then run utils/hellow-tester.sh to test the judge. + Run utils/bs-tester.sh to test the interactive feature. + + If anything didn't workout, don't worry! I'd be surprised if it did! + Contact me at dinovirus [@] NOSPAM [.] gmail [.] com + TO BE COMPLETED, asap! Documentation + Start: run utils/daemon.sh + Kill: run utils/jfsck.sh + TO BE COMPLETED, asap! License - Copyright (C) 2011 Hamed Saleh & Mahrud Sayrafi + Copyright (C) 2011-`date +%Y` Hamed Saleh & Mahrud Sayrafi This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,5 +52,5 @@ GNU General Public License for more details. Authors & Contact information - Hamed Saleh - Mahrud Sayrafi + Hamed Saleh + Mahrud Sayrafi -- cgit