-
Notifications
You must be signed in to change notification settings - Fork 0
/
LRS_config_template.py
38 lines (29 loc) · 1.24 KB
/
LRS_config_template.py
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
"""
LRS_Sync syncs xapi statments between two LRSs. Currently the functionality only exists to push
statements from one LRS (Local LRS) to another (Remote LRS)
Enter the correct information for the LRS below and run LRS_Sync.py to push statements
"""
# Source of statements
local_lrs_credentials = {
"endpoint":"<insert LRS endpoint here>",
"username":"<insert LRS user/client here>",
"password":"<insert LRS password here>",
# For Wordpress LRS change "learninglocker" to "wordpress"
"LRS":"learninglocker"
}
#Destination of statements
remote_lrs_credentials = {
"endpoint":"<insert LRS endpoint here>",
"username":"<insert LRS user/client here>",
"password":"<insert LRS password here>",
# For Wordpress LRS change "learninglocker" to "wordpress"
"LRS":"learninglocker"
}
#Optional - only collect statements from local LRS if created in local LRS after date (YYYY-MM-DD):
#date = "2015-01-01"
#Optional - only collect statements from local LRS if created in local LRS after date (YYYY-MM-DD):
#date = "2015-01-01"
#If using LRS_Save.py or LRS_Upload.py, choose the filename to write the statements to.
writefile = "localLRSstatements.json"
#If exporting statements to LRS from file, indicate the filename to read from.
readfile = "localLRSstatements.json"