Sign inSign up

rwthacis/learning-locker-service

By rwthacis

•Updated about 5 years ago

Image
0

2.5K

rwthacis/learning-locker-service repository overview

⁠Learning Locker Service

This repository is part of the bachelor thesis 'A Multimodal Mentoring Cockpit for Tutor Support'. It is a las2peer Service, that enables the connection between MobSOS and Learning Locker Other related repositories for the bachelor thesis can be found here: Mentoring Cockpit⁠

⁠Learning Locker configuration

The mobsos-data-processing service⁠ stores the messages in a MySQL database. When an xAPI statement from a proxy service (e.g. moodle-data-proxy⁠) this service is invoked which passes the xAPI statement to a Learning Record Store (LRS).

In Learning Locker an LRS is configured under Settings > Store > Add new. And under Settings > Client a corresponding client can be configured with the authentication.

⁠Service setup

To set up the service configure the property file⁠ file with your LRS domain and the corresponding authentication.

lrsDomain = http://exampleDomain/data/xAPI/statements
lrsAuth = exampleAuth
lrsAdminId = AdminClientID

⁠Build

Execute the following command on your shell:

ant jar 

⁠Start

To start the learning-locker service, follow the Starting-A-las2peer-Network tutorial⁠ and bootstrap your service to a mobsos-data-processing service⁠.

⁠How to run using Docker

First build the image:

docker build . -t learning-locker

Then you can run the image like this:

docker run -e LRS_DOMAIN=lrsDomain -e LRS_AUTH=lrsAuth -p port:9011 learning-locker

Replace lrsDomain with the domain of your LRS, lrsAuth with the corresponding authentication, lrsAdminId with the client ID of the admin (Stored in LRS) and port with a free port in your network.

⁠Node Launcher Variables

Set las2peer node launcher options⁠ with these variables. The las2peer port is fixed at 9011.

VariableDefaultDescription
BOOTSTRAPunsetSet the --bootstrap option to bootstrap with existing nodes. The container will wait for any bootstrap node to be available before continuing.
SERVICE_PASSPHRASEPassphraseSet the second argument in startService('service@version⁠', '<SERVICE_PASSPHRASE>').

Tag summary

Content type

Image

Digest

Size

318.8 MB

Last updated

about 5 years ago

docker pull rwthacis/learning-locker-service