|
1 | 1 | # fj-doc-playground-quarkus Project |
2 | 2 |
|
3 | | -This project uses Quarkus, the Supersonic Subatomic Java Framework. |
4 | | - |
5 | | -If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ . |
6 | 3 |
|
7 | 4 | ## Running the application in dev mode |
8 | 5 |
|
9 | | -You can run your application in dev mode that enables live coding using: |
10 | | -```shell script |
11 | | -./mvnw compile quarkus:dev |
12 | | -``` |
13 | | - |
14 | | -> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/. |
15 | | -
|
16 | | -## Packaging and running the application |
| 6 | +You can run your application in dev mode that enables live coding using: |
| 7 | +shell script |
17 | 8 |
|
18 | | -The application can be packaged using: |
19 | | -```shell script |
20 | | -./mvnw package |
21 | 9 | ``` |
22 | | -It produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory. |
23 | | -Be aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory. |
24 | | - |
25 | | -The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`. |
26 | | - |
27 | | -If you want to build an _über-jar_, execute the following command: |
28 | | -```shell script |
29 | | -./mvnw package -Dquarkus.package.type=uber-jar |
30 | | -``` |
31 | | - |
32 | | -The application, packaged as an _über-jar_, is now runnable using `java -jar target/*-runner.jar`. |
33 | | - |
34 | | -## Creating a native executable |
35 | | - |
36 | | -You can create a native executable using: |
37 | | -```shell script |
38 | | -./mvnw package -Pnative |
39 | | -``` |
40 | | - |
41 | | -Or, if you don't have GraalVM installed, you can run the native executable build in a container using: |
42 | | -```shell script |
43 | | -./mvnw package -Pnative -Dquarkus.native.container-build=true |
| 10 | +./mvnw compile quarkus:dev |
44 | 11 | ``` |
45 | 12 |
|
46 | | -You can then execute your native executable with: `./target/fj-doc-playground-quarkus-1.0.0-SNAPSHOT-runner` |
47 | | - |
48 | | -If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling. |
49 | | - |
50 | | -## Related Guides |
51 | | - |
52 | | -- RESTEasy Reactive ([guide](https://quarkus.io/guides/resteasy-reactive)): A JAX-RS implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it. |
53 | | - |
54 | | -## Provided Code |
55 | | - |
56 | | -### RESTEasy Reactive |
57 | 13 |
|
58 | | -Easily start your Reactive RESTful Web Services |
| 14 | +And go to the home page link [http://localhost:8080/playground/](http://localhost:8080/playground/) |
59 | 15 |
|
60 | | -[Related guide section...](https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources) |
| 16 | +## modules currently supported in playground : |
| 17 | +* fj-doc-val (and all its extensions) |
0 commit comments