Browse Source

feat: edit spring-boot-demo-helloworld Readme.md

pull/1/head
yaodehuang 4 years ago
parent
commit
bba23dc266
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      spring-boot-demo-helloworld/README.md

+ 9
- 3
spring-boot-demo-helloworld/README.md View File

@@ -1,8 +1,14 @@
# spring-boot-demo-helloworld # spring-boot-demo-helloworld


## Runing spring boot demo helloworld

```sh
$ mvn spring-boot:run
```
##
> 本 demo 演示如何使用 Spring Boot 写一个hello world > 本 demo 演示如何使用 Spring Boot 写一个hello world


## pom.xml
### pom.xml
```xml ```xml
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -59,7 +65,7 @@
</project> </project>
``` ```


## SpringBootDemoHelloworldApplication.java
### SpringBootDemoHelloworldApplication.java


```java ```java
/** /**
@@ -99,7 +105,7 @@ public class SpringBootDemoHelloworldApplication {
} }
``` ```


## application.yml
### application.yml


```yaml ```yaml
server: server:


Loading…
Cancel
Save