-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec-version-1-0
101 lines (98 loc) · 2.48 KB
/
spec-version-1-0
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
100
101
{
"lab": {
"description": {
"name": "",
"id": "",
"status": "",
"discipline": [],
"type": "",
"server-side": true,
"integration_level": 6,
"developer": [
{
"name": "",
"title": "",
"role": "",
"organization": "VLEAD",
"institute": "IIIT Hyderabad",
"web": "",
"department": "Software Engg Research Lab (SERL)",
"contact": {
"email": "",
"alternate_email": "",
"mobile_number": "",
"office_number": ""
}
}
]
},
"build_requirements": {
"platform": {
"os": "ubuntu",
"osVersion": "14.04",
"arch": "x64",
"service_pack": "",
"installer": [
],
"build_steps": {
"configure": [],
"pre_build": [],
"build": [
"cd ../;make build"
],
"post_build": [
"cp -R build/code/* /var/www/",
"chmod -R 755 /var/www",
"mkdir /var/www/logs",
"chmod -R 777 /var/www/logs",
"mkdir /var/www/runtime/static/uploads",
"chmod -R 777 /var/www/runtime/static/uploads",
],
"status": []
}
}
},
"runtime_requirements": {
"platform": {
"os": "ubuntu",
"osVersion": "14.04",
"arch": "x64",
"servicepack": "",
"hosting": "dedicated",
"memory": {
"max_required": "4gb",
"min_required": "2gb"
},
"storage": {
"min_required": "150gb"
},
"installer": [
"rsync -avz apache2.conf /etc/apache2/",
"rsync -avz security.conf /etc/apache2/conf-available/security.conf",
"apt-get install libapache2-modsecurity -y",
"a2enmod headers",
"a2enmod rewrite",
"service apache2 restart",
"bash /var/www/scripts/setup.sh",
"python /var/www/scripts/setup.py install",
"bash /var/www/scripts/configure.sh",
"python /var/www/scripts/db_setup.py"
],
"lab_actions": {
"init" : [],
"shutdown": [],
"pause" : [],
"resume" : [],
"start" : [],
"stop" : [],
"backup" : [],
"restore" : [],
"clean" : [],
"stats" : [],
"publish" : []
}
}
}
},
"template": "1.0"
}