diff options
author | Manuel Bentele | 2021-03-09 10:47:55 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-03-11 07:46:19 +0100 |
commit | 208a9dd34b6bd4436599f857159e4c2b7290ea07 (patch) | |
tree | a2baf8bcd483c5cf19a5ceba774b73ff14516a81 /dozentenmodulserver/README.md | |
parent | [client,server] Remove unused/empty unit tests (diff) | |
download | tutor-module-208a9dd34b6bd4436599f857159e4c2b7290ea07.tar.gz tutor-module-208a9dd34b6bd4436599f857159e4c2b7290ea07.tar.xz tutor-module-208a9dd34b6bd4436599f857159e4c2b7290ea07.zip |
[server] Build and run dozmod-server as Docker container
Diffstat (limited to 'dozentenmodulserver/README.md')
-rw-r--r-- | dozentenmodulserver/README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dozentenmodulserver/README.md b/dozentenmodulserver/README.md new file mode 100644 index 00000000..d5a48233 --- /dev/null +++ b/dozentenmodulserver/README.md @@ -0,0 +1,28 @@ +# dozmod-server - Server to manage virtual machine images + +## Build + +### Java package +The dozmod-server can be built as a Java archive (.jar) using the following command line call: + +```shell +mvn package +``` + +The built package can be found at `target/dozmod-server-*-jar-with-dependencies.jar`. + + +### Docker container +A docker image of the dozmod-server and its required infrastructure can be built and started with the following command line call: + +```shell +mvn -P dozmod-server:start +``` + +Note that a complete Docker infrastructure (images, containers, networks and volumes) is created and started after this call. To stop the dozmod-server container and its entire infrastructure, use the following command line call: + +The running containers can be stopped with the following command line call: + +```shell +mvn -P dozmod-server:stop +``` |