mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-21 19:02:47 +08:00
20 lines
394 B
Markdown
20 lines
394 B
Markdown
# 演示
|
|
简单示例,无页面
|
|
|
|
## 运行
|
|
|
|
1. IDE
|
|
导入项目后,运行: `org.hswebframework.web.example.simple.SpringBootExample.main`
|
|
|
|
2. maven
|
|
先安装 `hsweb-framework`
|
|
```bash
|
|
/hsweb-framework $ mvn install
|
|
/hsweb-framework $ cd hsweb-examples/hsweb-examples-simple
|
|
/hsweb-examples-simple $ mvn spring-boot:run
|
|
|
|
```
|
|
|
|
## 测试
|
|
打开页面: `http://localhost:8081/swagger-ui.html`
|