Skip to content

Instantly share code, notes, and snippets.

@joellobo
Created September 5, 2024 13:43
Show Gist options
  • Save joellobo/398420ea1977e8825f49e6a2257577c5 to your computer and use it in GitHub Desktop.
Save joellobo/398420ea1977e8825f49e6a2257577c5 to your computer and use it in GitHub Desktop.
spring cli
sdk install springboot
spring --version
spring init --dependencies=web,data-jpa my-project
spring init --dependencies=web,data-jpa my-project --build=gradle --java-version=17
spring init --dependencies=web,data-jpa project2 --build=maven --java-version=17
./mvnw spring-boot:run
./mvnw spring-boot:run -Dserver.port=8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment