Readme, docker.io-config, docker-compose.yml

This commit is contained in:
mbremer
2021-07-05 17:19:17 +02:00
parent 166871165f
commit 4d6642c144
6 changed files with 62 additions and 28 deletions

View File

@@ -1,8 +1,6 @@
# buerokalender Project
# buerokalender
This project uses Quarkus, the Supersonic Subatomic Java Framework.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
Eine kleine Webapp um die Belegung eines Büroarbeitsplatzes ohne Kollision zu buchen.
## Running the application in dev mode
@@ -11,16 +9,13 @@ You can run your application in dev mode that enables live coding using:
./mvnw compile quarkus:dev
```
> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Packaging and running the application
## Packaging and deployment
The application can be packaged using:
```shell script
./mvnw package
```
It produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory.
Be aware that its not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory.
If you want to build an _über-jar_, execute the following command:
```shell script
@@ -29,7 +24,7 @@ If you want to build an _über-jar_, execute the following command:
The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.
## Creating a native executable
### Creating a native executable
You can create a native executable using:
```shell script
@@ -43,16 +38,7 @@ Or, if you don't have GraalVM installed, you can run the native executable build
You can then execute your native executable with: `./target/buerokalender-0.1.0-SNAPSHOT-runner`
If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.html.
## Related Guides
- RESTEasy JAX-RS ([guide](https://quarkus.io/guides/rest-json)): REST endpoint framework implementing JAX-RS and more
## Provided Code
### RESTEasy JAX-RS
Easily start your RESTful Web Services
[Related guide section...](https://quarkus.io/guides/getting-started#the-jax-rs-resources)
Push to docker.io:
```shell script
./mvnw clean package -DskipTests -Dquarkus.container-image.push=true
```