summaryrefslogtreecommitdiff
path: root/doc/documentation.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation.txt')
-rw-r--r--doc/documentation.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/documentation.txt b/doc/documentation.txt
index dfcfe26..5bc6456 100644
--- a/doc/documentation.txt
+++ b/doc/documentation.txt
@@ -311,6 +311,25 @@ In der Aktivitätsliste wird SQLBox gewählt und eine Aufgabe mit Beschreibung u
Referenz-Abfrage angelegt. Dieser Prozess wiederholt sich für jede zu
stellendene Aufgabe.
+Alternativ können die Testaufgaben automatisiert der Moodle instanz inzugefügt
+werden. Dazu wird die der exportierte Aufgabendatenbestand von Nils Weber
+benutzt, dieser ist in der Datei +oracle-conversion/lesson.xml+ zu finden.
+Ein XSLT-Programm
+(+oracle-conversion/oracle-conversion/lesson-add-to-moodle.xsl+) erstellt
+Kommandozeilenbefehle, die zur Erstellung notwendig sind. Dazu wir das
+Kommandozeilen Programm curl benutzt, das HTTP-Anfragen erlaubt.
+Zu Erzeugung wird also das reguläre Moodle-Formular benutzt.
+Dazu muss im Script +oracle-conversion/create-kapv-in-moodle.sh+ die MoodleSession
+(vom Cookie auszulesen) und der sesskey (in den URLs enthalten) angepasst
+werden um es danach auszuführen.
+Außerdem müssen course, section und modul ID angepasst werden.
+
+[source,sh]
+----
+cd oracle-conversion
+sh create-kapv-in-moodle.sh
+----
+
== Literatur
* Nils Weber, Diplomarbeit