forked from daveagp/websheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ws-config.example.json
41 lines (32 loc) · 1.48 KB
/
ws-config.example.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
{
"safeexec-executable-abspath":"/absolute/path/to/.../safeexec/safeexec",
"java_jail-abspath":"/absolute/path/to/.../java_jail/",
"db-enabled": false,
"db-host": "...",
"db-user": "...",
"db-password": "...",
"db-database": "...",
"cpp_compiler":"g++",
"//or put clang++, or path to one of these":"",
"baseurl": "http://your-website.../websheets",
"//list of email addresses to noftify when new problem is created":"",
"notify_new":[],
"//users with extra permissions (e.g. change websheet owner)":"",
"super_users":[],
"//this can be useful if you have a localhost server, or you are an administrator":"",
"//who cannot use the normal auth method, or you want to preview as a student":"",
"//this backdoor-auths is a map of key-value pairs like {'magic':'student@domain'}":"",
"//add ?auth=key to your websheet URLs to log in as that account":"",
"//note that this is totally insecure! anyone who knows the key can log in":"",
"backdoor-auths": {},
"//you only need to keep the ones whose auth system you are using":"",
"facebook-id": "your facebook api id",
"facebook-secret": "your facebook api secret key",
"google-id":"your google api id",
"google-secret":"your google api secret key",
"GitHub-id":"your google api id",
"GitHub-secret":"your google api secret key",
"//keep the 2 below only if your university uses google apps and you want to authenticate using it" : "",
"google-apps-domain": "youruniversity.edu",
"required_username_suffix": "@youruniversity.edu"
}