Mneme is distributed as source only, and is configured for Sakai 10.1.
- Install the Mneme Database
- Download Mneme Source And Modify Your Sakai Distribution
- Configure Mneme
- Use the Mneme Admin Tools to Install Permissions
- User Documentation
- What’s New in Mneme 2.1.36 (and earlier versions)?
Before you start up your Sakai instance with Mneme, you must install Mneme’s tables in your database. Mneme supports Oracle and MySQL – HSQL is not supported.
The easiest way to install Mneme’s tables is to let Sakai’s auto.ddl feature do it for you as your first app server starts up. Make sure that auto.ddl is enabled for the app server, and make sure you start up just a single app server. auto.ddl will run Mneme’s ddl.
Most production environments will prefer to manually run the Mneme ddl, possibly modified for tablespace and other local concerns. There are 4 ddl files to run – the order does not matter. These are found in the source code under mneme/mneme-impl/impl/src/sql/<vendor>, where “<vendor>” is either “mysql” or “oracle”. The 4 files that contain Mneme’s ddl are:
To update from a previous version of Mneme, notice the other sql files distributed with Mneme. These take your database up to the current version. You need to run all the updates that you have not yet run, to take your particular version of the database up to the latest. You may need to examine your current Mnene database definition, compare it to the latest Mneme DDL files, and note these update sql files to craft the particular update that works for you.
To add Mneme to your Sakai 10.1, you will need to:
- Download the Mneme software from SVN, into your Sakai 10.1 source folder:
sakai> svn co https://source.sakaiproject.org/contrib/etudes/etudes-util/tags/1.0.25/ etudes-util
sakai> svn co https://source.sakaiproject.org/contrib/etudes/ltiContact/tags/1.2/ ltiContact
sakai> svn co https://source.sakaiproject.org/contrib/etudes/ambrosia/tags/2.1.35/ ambrosia
sakai> svn co https://source.sakaiproject.org/contrib/etudes/mneme/tags/2.1.36/ mneme
- Update the Sakai base pom.xml
Add lines to the Sakai root pom.xml build profile section that you are using (the default is the “full” profile). These instruct Maven to include the Mneme sources in the build.
- Update the Sakai master pom.xml
Add lines to the Sakai master/pom.xml properties and dependency management section for the Etudes artifacts.
Properties: add to the <properties> section:
Dependencies: add to the <dependencyManagement><dependencies> section:
- Build your Sakai, including etudes-util, ltiContact, ambrosia, and mneme.
When you use maven to build sakai, it will include the sources needed for mneme.
This version is configured to build with Sakai 10.1. If you are using another Sakai version, you need to make a few changes.
The “10.1” version number is in a few Mneme files, used as the version number for the Sakai base pom. You need to edit these files to change this to match the version of Sakai you are using:
To finalize the integration of Mneme into your Sakai installation, you need to make some changes to the Authz Groups that are used as templates when new Sites are created, to enable the proper Mneme permissions. You can do this manually, by using the Admin Realm (Authz Group) editor in Sakai to edit the template authz groups, or use the Mneme Admin tool to do this.
There are five permissions in Mneme:
You must give the first two permissions (mneme.manage and mneme.grade) to your instructors, teaching assistants, and other “maintain” sorts of roles. NOTE: Do NOT give ‘maintain’ types of roles the mneme.submit permission; they will be able to try out assessments in Mneme using Test Drive without submit permission.
Your students need only the third, mneme.submit permission.
To allow users (typically ‘guest’ roles) to view the assessments defined in a site but not make changes or submissions, use the mneme.guest permission.
In a stock Sakai distribution, there are two Authz Group templates used as new site templates:
You may have additional ones, especially if you have other than “project” and “course” site types. Make sure you modify all the appropriate templates.
The templates in a stock Sakai distribution have the following 5 roles:
- Teaching Assistant
You may have added guests, support, and others. Make sure to modify all the appropriate roles.
Mneme entries in sakai.properties
To enable the background thread in Mneme’s submission service, add this line to your sakai.properties. We want to run this thread on only a single app server in your cluster, so if you have more than a single app server, select one for this task. Use this app server’s “serverId” setting name in the following line:
Without this line, the maintenance thread will not run on any of your app severs; submissions that are timed-out or overdue will not auto-close, and automatic email of results will not happen.
Use this property to configure the location to unzip the QTI package. Eg. If you are on unix/linux, and your unzip QTI directory path is /var/mneme/QTI, <name> would be /var/mneme/QTI. Be sure to create this directory with read/write permissions for the tomcat user.
You can use the Mneme admin tool to install the Mneme permissions. The tool also allows you to add Mneme (permissions and tool) to a single site or a batch of sites.
To use the Mneme Admin tool, you must access the tool in your production Sakai instance. If you have the Mercury portal enabled, you can use that to access “sakai.mneme.admin”. Otherwise you can add the tool to your !admin site and use it from there. You must be an admin user to use the tool.
The tool will work with the standard templates and roles. You can configure the tool to use additional or different templates and roles.
To list the unique set of templates used in your Sakai installation for site Authz Group templates, add this to your sakai.properties:
To list the unique set of roles you are using for “maintain” and “access”, add these lines to your sakai.properties:
To add the Mneme Admin tool to your Administration Workspace, do the following:
- Log in as Sakai Admin
- Click on Sites
- Click on !admin
- Scroll down and click on Pages
- Click on “New Page” at the top
- Enter “Mneme Admin Tool” in the Title field
- Click on Tools (not on Done!)
- Click on “New Tool” at the top of the page
- Scroll down – find and select “Test Center Admin (sakai.mneme.admin)”
- Click on Done at the bottom.
- Click on Save on the new page that appears.
When you click on “Administration Workspace,” you will now see Mneme Admin Tool where you can perform a variety of functions, such as adding Mneme permissions or Mneme to sites, etc.
See relevant tutorials in our help pages.
See issues addressed in this release and earlier versions / releases.
Mneme is licensed under the Apache License, Version 2.0
Contact email@example.com or firstname.lastname@example.org