Skip to content

Commit 3c145f4

Browse files
committed
Added build and run info to readme
1 parent 91cd330 commit 3c145f4

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fugerit-org_fj-daogen-quarkus-demo&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fugerit-org_fj-daogen-quarkus-demo)
1010

1111
[![Java runtime version](https://img.shields.io/badge/run%20on-java%208+-%23113366.svg?style=for-the-badge&logo=openjdk&logoColor=white)](https://universe.fugerit.org/src/docs/versions/java8.html)
12-
[![Java build version](https://img.shields.io/badge/build%20on-java%2017+-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)](https://universe.fugerit.org/src/docs/versions/java17.html)
12+
[![Java build version](https://img.shields.io/badge/build%20on-java%2021+-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)](https://universe.fugerit.org/src/docs/versions/java21.html)
1313
[![Apache Maven](https://img.shields.io/badge/Apache%20Maven-3.9.0+-C71A36?style=for-the-badge&logo=Apache%20Maven&logoColor=white)](https://universe.fugerit.org/src/docs/versions/maven3_9.html)
1414

1515
## Quickstart
@@ -22,6 +22,41 @@ mvn compile quarkus:dev
2222

2323
Open [dev ui](http://localhost:8080/q/dev-ui/) or sample [API Page](http://localhost:8080/)
2424

25+
## Java package version
26+
27+
```shell script
28+
mvnw pacakge
29+
```
30+
31+
## Docker container (jvm version)
32+
33+
Build :
34+
35+
```shell script
36+
docker build -t fj-daogen-quarkus-demo:local .
37+
```
38+
39+
```shell script
40+
docker run -p 8080:8080 --name fj-daogen-quarkus-demo-local fj-daogen-quarkus-demo:local
41+
```
42+
43+
## Native package version
44+
45+
Build :
46+
47+
First you need to setup [GraalVM](https://www.graalvm.org/) :
48+
[BUILDING A NATIVE EXECUTABLE](https://quarkus.io/guides/building-native-image)
49+
50+
```shell script
51+
mvn install -Dnative
52+
```
53+
54+
Run :
55+
56+
```shell script
57+
./target/fj-daogen-quarkus-demo-*-runner
58+
```
59+
2560
## Project creation script
2661

2762
```shell script

0 commit comments

Comments
 (0)