]> mj.ucw.cz Git - moe.git/blob - README
Added a short readme.
[moe.git] / README
1 How to set up the evaluator:
2 ----------------------------
3
4 Edit `config', especially MO_ROOT, EVAL_USER, EVAL_GROUP, TEST_USERS, CT_UID_MIN and CT_UID_MAX.
5
6 Create $MO_ROOT  (here we assume it's /aux/mo)
7
8 Create the evaluation users (outside $CT_UID_MIN .. $CT_UID_MAX):
9
10         mo-eval:x:65000:65000:MO Evaluator:/aux/mo/eval/mo-eval:/bin/bash
11         mo-test1:x:65001:65000:MO Tester 1:/aux/mo/eval/mo-test1:/bin/bash
12         mo-test2:x:65002:65000:MO Tester 2:/aux/mo/eval/mo-test2:/bin/bash
13
14 Create the evaluation group:
15
16         mo-eval:x:65000:
17
18 Create the contestant users (inside $CT_UID_MIN .. $CT_UID_MAX; as many as you wish;
19 the names don't matter):
20
21         mo00:x:65100:65100:MO Contestant 00:/aux/mo/users/mo00/mo00:/bin/bash
22         ...
23         mo99:x:65199:65199:MO Contestant 99:/aux/mo/users/mo99/mo99:/bin/bash
24
25 ... and their groups (preferably with the same ID's):
26
27         mo00:x:65100:
28         ...
29         mo99:x:65199:
30
31 ... and their passwords ...
32
33 Run bin/mo-install to create the infrastructure.
34
35 Run bin/mo-create-contestants to create contestants' home directories,
36 files from template/* will be copied there automatically.