seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2KB

1234567891011121314151617181920212223242526272829303132
  1. # sentinel-demo-quarkus project
  2. This project uses Quarkus, the Supersonic Subatomic Java Framework.
  3. If you want to learn more about Quarkus, please visit its website: [quarkus.io](https://quarkus.io/)
  4. ## Running the application in dev mode
  5. You can run your application in dev mode that enables live coding using:
  6. ```
  7. ./mvnw quarkus:dev
  8. ```
  9. ## Packaging and running the application
  10. The application can be packaged using `./mvnw package`.
  11. It produces the `sentinel-demo-quarkus-1.0-SNAPSHOT-runner.jar` file in the `/target` directory.
  12. Be aware that it’s not an _über-jar_ as the dependencies are copied into the `target/lib` directory.
  13. The application is now runnable using `java -jar target/sentinel-demo-quarkus-1.0-SNAPSHOT-runner.jar`.
  14. ## Creating a native executable
  15. You can create a native executable using: `./mvnw package -Pnative`.
  16. Or, if you don't have GraalVM installed, you can run the native executable build in a container using: `./mvnw package -Pnative -Dquarkus.native.container-build=true`.
  17. You can then execute your native executable with: `./target/sentinel-demo-quarkus-1.0-SNAPSHOT-runner`
  18. If you want to learn more about building native executables, please consult [building-native-image](https://quarkus.io/guides/building-native-image)