Commit 30a41f26 authored by Lückemeyer's avatar Lückemeyer
Browse files
No related merge requests found
Showing with 11 additions and 1 deletion
+11 -1
...@@ -57,15 +57,25 @@ On some READMEs, you may see small images that convey metadata, such as whether ...@@ -57,15 +57,25 @@ On some READMEs, you may see small images that convey metadata, such as whether
See plugin docs at the Moodle HQ. See plugin docs at the Moodle HQ.
## Installation ## Installation
Assumption: Java JDK 17, maven and docker installed, docker running.
Only before the first build, add the dependency to unifiedticketing to your local maven repo using the command in
deployunifiedticketingdeptolocalrepo.txt
Build the jar using Build the jar using
export BUILD_NUMBER=<YOUR_BUILD_NUMBER>; mvn clean install export BUILD_NUMBER=<YOUR_BUILD_NUMBER>; mvn clean install
Assumption: members of a system group named 'docker' have access rights to the docker socket and daemon. Assumption: members of a system group named 'docker' have access rights to the docker socket and daemon.
Then build the docker image using
Then build the docker image using (Hint: There are backticks in front of 'getent' and after 'f3')
docker build --build-arg AGID=`getent group docker | cut -d: -f3` --build-arg BUILD_NUMBER=$BUILD_NUMBER -t <YOUR_DOCKERHUB_ORGANISATION>/dta-backend:latest . docker build --build-arg AGID=`getent group docker | cut -d: -f3` --build-arg BUILD_NUMBER=$BUILD_NUMBER -t <YOUR_DOCKERHUB_ORGANISATION>/dta-backend:latest .
The default image is provided with the organisation hftstuttgart. The default image is provided with the organisation hftstuttgart.
Assumption: docker-compose or a new docker version with integrated docker compose running.
Test it without building anything e.g. with Moodle 4.3 using the provided docker-compose.yaml. Test it without building anything e.g. with Moodle 4.3 using the provided docker-compose.yaml.
With this compose file, after Moodle spinup With this compose file, after Moodle spinup
- install the dtt plugin - install the dtt plugin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment