Hi Neil,
I looked into this briefly a while back and wrote these notes. It may be
helpful in getting started.
A simple development setup for Apereo Learning Analytics consists of the
following:
- a learning record store (OpenLRS)
- Sakai xAPI implementation
- a reporting view (OpenDashboard)
Sakai uses xAPI to send event data to the learning record store. The
reporting view is used to consume the data from the LRS. The view can be
embedded in Sakai as an LTI tool.
OpenLRS
To set up OpenLRS (Open Learning Record Store) on your local machine,
follow the steps below:
1. Check out the code from github
-- git clone
https://github.com/Apereo-Learning-Analytics-Initiative/OpenLRS.git
2. Build and run the standalone server
- mvn -Drun.jvmArguments="-Dserver.port=8091" clean package
spring-boot:run OR for debugging use mvn
-Drun.jvmArguments="-Dserver.port=8091
-agentlib:jdwp=transport=dt_socket,address=8001,server=y,suspend=n"
clean package spring-boot:run (create shell scripts for these if desired)
- Note that is creates an in-memory store, so all the data disappears
when you stop the server
Sakai xAPI Provider
1. Check out the code from github
-- git clone
https://github.com/Apereo-Learning-Analytics-Initiative/SakaiXAPI-Provider.git
2. Build and deploy to your local sakai installation
- mvn clean install sakai:deploy
3. Set up the following sakai.properties
-- lrs.enabled=true
-- lrs.tincanapi.basicAuthUserPass=openlrs:openlrs
-- lrs.tincanapi.url=
http://localhost:8091/xAPI/statements
OpenDashboard
1. Check out the code from github
- git clone
https://github.com/Apereo-Learning-Analytics-Initiative/OpenDashboard.git
2. Build and run the standalone server
- mvn -Drun.jvmArguments="-Dserver.port=8092" clean package
spring-boot:run OR for debugging use mvn
-Drun.jvmArguments="-Dserver.port=8092
-agentlib:jdwp=transport=dt_socket,address=8002,server=y,suspend=n"
clean package spring-boot:run (create shell scripts for these if desired)
- Note that this creates an in-memory store, so all the data disappears
when the server stops
3. Create an LTI 1.x tool inside your Sakai instance with the following
config:
- URL:
http://localhost:8092
- Key: opendash
- Secret: opendash
4. Add the new LTI tool to a site
5. Click on the LTI tool in the site.
Paul Lukasewych
Applications Development Team
Information Technology Services
Support Services Building
Western University
(519) 661-2111 x80513
pluk...@uwo.ca
On 2016-03-10 11:39 AM, NeilCrazy wrote:
> Hi, Miguel
>
> Thank you for your instruction and it works for us !
> BTW, Do you have any idea about the LRS solution, just because our school located at China and Cloud based LRS are very slow and hard to connect in our country. If we can have some LRS products which can deploy locally will be great for us.
> Any way, thank you very much for your help!
>
> Regards
>
> Neil
>
>> 在 2016年3月10日,下午3:20,Miguel Carro Pellicer <
mca...@entornosdeformacion.com> 写道:
>>
>> Hi Neil.
>>
>> Install the XAPI provider:
https://github.com/Apereo-Learning-Analytics-Initiative/SakaiXAPI-Provider <
https://github.com/Apereo-Learning-Analytics-Initiative/SakaiXAPI-Provider>
>> Enable this properties:
>> lrs.enabled=true
>> lrs.tincanapi.url=
http://yourLRSAddress/data/xAPI/statements <
http://lrs.entornosdeformacion.com/data/xAPI/statements>
>> lrs.tincanapi.basicAuthUserPass=XXXXX:YYYYY (Where XX and YY are the LRS user/password)
>>
>> If everything is correct you will see the feed of the activies in your LRS.
>>
>> Regards
>>
>> El 10/03/2016 a las 7:23, NeilCrazy escribió:
>>> Hi,
>>>
>>> We are trying to find out how sakai work with Tin Can API like how we can setup a LRS external or active it as a service or something else.
>>> We hope we can share and analyze the learner’s experience through this way and hope any friend who may know about this can give us some help.
>>> BTW, We saw that sakai already been the adopter of the Tin Can API.
>>>
>>> Thanks,
>>>
>>>
>>> Neil
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> -----------------------------------------------
>> Miguel Carro Pellicer
>> CTO EDF - Entornos de Formación S.L.
>>
>> Website:
http://www.entornosdeformacion.com/ <
http://www.entornosdeformacion.com/>
>> Email:
mca...@entornosdeformacion.com <mailto:
mca...@entornosdeformacion.com>
>> Skype: mcpellicer
>> -----------------------------------------------
>