]> mj.ucw.cz Git - moe.git/blobdiff - README
Updated tests after the recent change of judges' messages to stderr.
[moe.git] / README
diff --git a/README b/README
index f614d2958eeebb854647fac1a7b46c66fd0843c3..5ba6397b00a6303de6ee2ea15f2a6d52d6f779d4 100644 (file)
--- a/README
+++ b/README
@@ -1,53 +1,29 @@
-How to set up the evaluator:
-----------------------------
+================================================================================
 
-Edit `config', especially MO_ROOT, EVAL_USER, EVAL_GROUP, TEST_USERS, CT_UID_MIN and CT_UID_MAX.
+                        The MO Contest Environment @VERSION@
 
-Create $MO_ROOT  (here we assume it's /aux/mo)
+                   (c) 2001--2008 Martin Mares <mj@ucw.cz>
 
-Create the evaluation users (outside $CT_UID_MIN .. $CT_UID_MAX):
+================================================================================
 
-       mo-eval:x:65000:65000:MO Evaluator:/aux/mo/eval/mo-eval:/bin/bash
-       mo-test1:x:65001:65000:MO Tester 1:/aux/mo/eval/mo-test1:/bin/bash
-       mo-test2:x:65002:65000:MO Tester 2:/aux/mo/eval/mo-test2:/bin/bash
 
-Create the evaluation group:
+This is the programming contest environment used by the Czech Programming Olympiad
+and some other competitions.
 
-       mo-eval:x:65000:
+You will find a brief documentation in the doc/ directory inside the package (start
+with doc/index.html) or on-line at http://mj.ucw.cz/mo-eval/.
 
-Create the contestant users (inside $CT_UID_MIN .. $CT_UID_MAX; as many as you wish;
-the names don't matter):
+The whole package can be distributed and used under the terms of the GNU General
+Public License version 2.
 
-       mo00:x:65100:65100:MO Contestant 00:/aux/mo/users/mo00/mo00:/bin/bash
-       ...
-       mo99:x:65199:65199:MO Contestant 99:/aux/mo/users/mo99/mo99:/bin/bash
+If you have any suggestions, bug reports or improvements you would like to share
+with others, please send them to mj@ucw.cz.
 
-... and their groups (preferably with the same ID's):
 
-       mo00:x:65100:
-       ...
-       mo99:x:65199:
+** How to compile the submission system **
 
-... and their passwords ...
+First, unpack holmes-libs-3.12, configure it and run make. You can build a thinner
+version with `./configure default.cfg -CONFIG_IMAGES -CONFIG_UCW_THREADS -CONFIG_SHARED'.
 
-Run bin/mo-install to create the infrastructure.
-
-Run bin/mo-create-contestants to create contestants' home directories,
-files from template/* will be copied there automatically.
-
-If users are logging in remotely, set quotas and other limits for them.
-Don't use limits.conf for that since with sshd the limits would affect _root_
-(probably bug in interface between sshd and PAM). Just add to /etc/profile:
-
-       if [ $UID -ge 65100 -a $UID -le 65199 ] ; then
-               ulimit -Sc 8192         # core file size
-               ulimit -SHu 32          # processes
-               ulimit -SHn 256         # max open files
-               ulimit -SHv 262144      # max virtual memory
-       fi
-
-
-Various notes:
-~~~~~~~~~~~~~~
-- if you want to assign partial score to testcases, just make the OUTPUT_CHECK
-  program generate a file $TDIR/$TEST.pts containing the score.
+Then uncomment the "SUBMIT" line in the top-level Makefile and let LIBUCW
+point to the compiled Holmes libraries.