.env file), you set the path to the JSON file under the parameter, bootstrap../lrs2-win.exe --bootstrap=./bootstrapTest.json --logLevel=debug --logSources=bootstrap --continue=false
continue to true, the server will shut down after processing the bootstrap file.models property. First, it creates a super-admin user with full system permissions. Next, the file creates two LRSs, one with a basic auth xAPI access key and a forwarding route to the other. Finally, the JSON file creates a system management API key to further manage the system using REST API.models property. This parent property contains objects whose property names align with the API model names of the System-Level API. lrs object. Alongside its own properties (as defined within the schema). the child lrs object may contain another inner models property. The objects defined in the lrs models property mirror the outer structure, with each key name being a model name, but from the LRS-Level API.models properties using their internal names, not the names used in the API. The tables below translate the API object names to the internal object names to use when bootstrapping:|
Model name in API
|
Model name in bootstrap
|
lrs |
lrs |
apikey |
apikey |
user |
user |
rateLimit |
rateLimit |
plugins |
pluginConfig |
|
Model name in API
|
Model name in bootstrap
|
statementViewerReport |
statementViewerReport |
statements |
statement |
upstreams |
upstreamLRS |
xapi-access-keys |
key |
api-keys |
apikey |
logs |
clientLog |
embeddableCharts |
embedableChart |
embeddableDashboards |
embedableDashboard |
plugins |
pluginConfig |
dashboards |
customDashboard |
scripts |
script |