Date: Febuary 21, 2022
Authors: Niklas Dettmer ndettmer@uos.de, Dennis Benz dbenz@uos.de, Sebastian Osada sebastian.osada@uni-osnabrueck.de
The Siddata Stud.IP Plugin is part of the Siddata research project. Further information can be found at www.siddata.de. This plugin works as a client for providing Siddata functionalities in the learning management system (LMS) Stud.IP. For this purpose it uses the Siddata backend API provided by a central federated web service.
The plugin is installed and used within Stud.IP (minimum version is 4.2).
- Clone the repository.
- Build installation archive:
php build.php
- Install the plugin in your Stud.IP:
- Login with root user.
- Navigate to /dispatch.php/admin/plugin.
- Install the plugin archive via the drag-and-drop field in the sidebar.
- Activate the plugin.
- Configure the Plugin:
- Navigate to /dispatch.php/admin/configuration/configuration and expand "SIDDATA".
- At least set the following fields like so:
- "SIDDATA_Brain_URL": URL of your Siddata backend API.
- "SIDDATA_IV" and "SIDDATA_KEY": 16 character keys provided by your backend host.
- "SIDDATA_api_key": API key provided by your backend host.
- "SIDDATA_origin": Identification of your Stud.IP instance that has been defined in your backend.
- Start the cronjob once manually in
/dispatch.php/admin/cronjobs/tasks
and make sure your Cronjob scheduler is set up correctly.
- There are two common ways of running Stud.IP:
- Use the docker image
- Run Stud.IP natively on your machine
- Developing on-the-fly:
- Grant write and read permissions to the plugin folder: (Linux)
sudo chmod -R 777 <Stud.IP directory>/public/plugins_packages/virtUOS/
- Paste the hidden
.git
directory to<Stud.IP directory>/public/plugins_packages/virtUOS/SiddataPlugin/
- Make git ignore the file mode:
git config core.fileMode false
- Restore missing files which are not included in the installation archive:
git stash & git stash clear
- Grant write and read permissions to the plugin folder: (Linux)