Files
buerokalender/README.md
2021-07-05 17:19:17 +02:00

44 lines
1.2 KiB
Markdown

# buerokalender
Eine kleine Webapp um die Belegung eines Büroarbeitsplatzes ohne Kollision zu buchen.
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./mvnw compile quarkus:dev
```
## 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.
If you want to build an _über-jar_, execute the following command:
```shell script
./mvnw package -Dquarkus.package.type=uber-jar
```
The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.
### Creating a native executable
You can create a native executable using:
```shell script
./mvnw package -Pnative
```
Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
```shell script
./mvnw package -Pnative -Dquarkus.native.container-build=true
```
You can then execute your native executable with: `./target/buerokalender-0.1.0-SNAPSHOT-runner`
Push to docker.io:
```shell script
./mvnw clean package -DskipTests -Dquarkus.container-image.push=true
```