-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.json
99 lines (95 loc) · 2.18 KB
/
Config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"judgeAccount" : "judge001",
"globalRedisHost" : "192.168.210.134",
"globalRedisPort" : "6379",
"globalRedisPwd" : "hello,sdust_oj",
"localRedisHost" : "127.0.0.1",
"localRedisPort" : "6379",
"localRedisPwd" : "hello,sdust_oj",
"forward" : {
"ForwardDefaultOut" : "compile",
"ForwardDefaultBack" : "backMsg",
"ForwardDefaultLimit" : "run",
"maxMsgNum" : "100"
},
"compiler" : {
"CompileDefaultIn" : "compile",
"CompileDefaultOut" : "run",
"CompileDefaultRet" : "backMsg",
"0" : {
"cmd" : "/usr/bin/gcc gcc Main.c -O -o a.out",
"exefile" : "a.out",
"codefile" : "Main.c",
"outfile" : "a.out"
},
"1" : {
"cmd" : "/usr/bin/g++ g++ Main.cpp -std=c++11 -O -o a.out",
"exefile" : "a.out",
"codefile" : "Main.cpp",
"outfile" : "a.out"
},
"2" : {
"cmd" : "/usr/bin/javac javac Main.java",
"exefile" : "Main",
"codefile" : "Main.java",
"outfile" : "Main.class"
},
"3" : {
"cmd" : "NULL",
"exefile" : "Main.py",
"codefile" : "Main.py",
"outfile" : "Main.py"
}
},
"run" :{
"RunDefaultIn" : "run",
"RunDefaultOut" : "test",
"RunDefaultRet" : "backMsg",
"0" : {
"cmd" : "a.out a.out",
"ltype" : "0"
},
"1" : {
"cmd" : "a.out a.out",
"ltype" : "1"
},
"2" : {
"cmd" : "/usr/bin/java java Main",
"ltype" : "3"
},
"3" : {
"cmd" : "/usr/bin/python3 python3 Main.py",
"ltype" : "6"
}
},
"test" :{
"TestDefaultIn" : "test",
"TestDefaultOut" : "backMsg",
"0" : {
"cmd" : "a.out a.out"
},
"1" : {
"cmd" : "a.out a.out"
},
"2" : {
"cmd" : "/usr/bin/java java Main"
},
"3" : {
"cmd" : "/usr/bin/python3 python3 Main.py"
}
},
"backMsg" :{
"BackMsgDefaultIn" : "backMsg",
"web_address" : "192.168.210.134:8000"
},
"update" :{
"UpdateDefaultIn" : "update",
"UpdateDefaultOut" : "backMsg",
"DBHost" : "192.168.210.134",
"DBPort" : 27017,
"authentication_source" : "judgeDB",
"db" : "judgeDB",
"username" : "sdustoj",
"password" : "sdust"
}
}