Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
d85d8dc3
Commit
d85d8dc3
authored
1 year ago
by
Lückemeyer
Browse files
Options
Download
Email Patches
Plain Diff
Added first compilation local repo dep and build hint
parent
a4b3f4d7
master
amg-dev-volumes
amg-svn+ssh
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-1
README.md
with
11 additions
and
1 deletion
+11
-1
README.md
+
11
-
1
View file @
d85d8dc3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets