Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
DTABackend
Commits
d85d8dc3
Commit
d85d8dc3
authored
Oct 19, 2023
by
Lückemeyer
Browse files
Added first compilation local repo dep and build hint
parent
a4b3f4d7
Pipeline
#8676
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d85d8dc3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment