Skip to content

Commit

Permalink
Merge pull request #12 from sdelamo/intructions-for-micronaut-aot
Browse files Browse the repository at this point in the history
Instructions for Micronaut AOT
  • Loading branch information
mraible authored Aug 23, 2023
2 parents fb677fd + 38ded0e commit 6146f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Change the following files for each framework to match your Auth0 domain:
You can start each app using its CLI, Gradle, or Maven. Note that you will only be able to start one at a time since they all run on port 8080.

- Micronaut: `./gradlew run`
- Micronaut [AOT](https://micronaut-projects.github.io/micronaut-gradle-plugin/latest/#_micronaut_aot_plugin): `./gradlew optimizedRun`
- Quarkus: `quarkus dev`
- Spring Boot: `./gradlew bootRun`
- Helidon: `helidon dev`
Expand All @@ -67,13 +68,15 @@ You should see your email address printed to your terminal.
You can also build and run each example as a native app.

- Micronaut: `./gradlew nativeCompile`
- Micronaut [AOT](https://micronaut-projects.github.io/micronaut-gradle-plugin/latest/#_micronaut_aot_plugin): `./gradlew nativeOptimizedCompile` - GraalVM executable compiled with Micronaut AOT optimizations
- Quarkus: `quarkus build --native`
- Spring Boot: `./gradlew nativeCompile`
- Helidon: `mvn package -Pnative-image`

Then, start each app as a native executable.

- Micronaut: `./build/native/nativeCompile/app`
- Micronaut AOT: `./build/native/nativeOptimizedCompile/app`
- Quarkus: `./build/quarkus-1.0.0-SNAPSHOT-runner`
- Spring Boot: `./build/native/nativeCompile/spring-boot`
- Helidon: `./target/helidon`
Expand Down

0 comments on commit 6146f7b

Please sign in to comment.