Skip to content

Commit aedda01

Browse files
committed
add exam mode data.json for development purposes
using this file as your client's data.json will basically force the login screen into exam mode, as this exam lasts for 20 years and is active on all IP ranges for your standard 42 school.
1 parent d1a1c9f commit aedda01

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

dev/forever-exam.data.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"hostname": "f1r1s20.codam.nl",
3+
"events": [],
4+
"exams": [
5+
{
6+
"cursus": [
7+
{
8+
"id": 21,
9+
"name": "42cursus",
10+
"slug": "42cursus"
11+
}
12+
],
13+
"projects": [
14+
{
15+
"id": 1320,
16+
"name": "Exam Rank 02",
17+
"slug": "exam-rank-02"
18+
},
19+
{
20+
"id": 1321,
21+
"name": "Exam Rank 03",
22+
"slug": "exam-rank-03"
23+
},
24+
{
25+
"id": 1322,
26+
"name": "Exam Rank 04",
27+
"slug": "exam-rank-04"
28+
},
29+
{
30+
"id": 1323,
31+
"name": "Exam Rank 05",
32+
"slug": "exam-rank-05"
33+
},
34+
{
35+
"id": 1324,
36+
"name": "Exam Rank 06",
37+
"slug": "exam-rank-06"
38+
}
39+
],
40+
"id": 20740,
41+
"ip_range": [
42+
"10.10.0.0/16"
43+
],
44+
"begin_at": "2014-11-12T10:00:00.000Z",
45+
"end_at": "2034-11-12T13:00:00.000Z",
46+
"location": "Everywhere",
47+
"max_people": 64,
48+
"nbr_subscribers": 32,
49+
"name": "Exam",
50+
"created_at": "2024-10-23T11:09:16.659Z",
51+
"updated_at": "2024-11-11T11:56:37.853Z"
52+
}
53+
],
54+
"exams_for_host": [
55+
{
56+
"id": 20740,
57+
"name": "Exam",
58+
"begin_at": "2014-11-12T10:00:00.000Z",
59+
"end_at": "2034-11-12T13:00:00.000Z"
60+
}
61+
],
62+
"fetch_time": "2024-11-11T13:59:34.934Z",
63+
"message": "You currently have a data.json deployed with a forever exam for testing."
64+
}

0 commit comments

Comments
 (0)