diff --git a/README.md b/README.md index 3922f35b2eddf808d4e0fc1d772d6740de9104a3..cdf3a0da5b565019ccc2ab4a4772d5dadb127fea 100644 --- a/README.md +++ b/README.md @@ -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. ## 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 + 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. -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 . 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. With this compose file, after Moodle spinup - install the dtt plugin