An open API service indexing awesome lists of open source software.

https://github.com/jianzhichun/deploy-spring-boot-admin

spring-boot-admin plugin for deploying -spring-boot-admin插件用于部署
https://github.com/jianzhichun/deploy-spring-boot-admin

deploy samplepage spring-boot spring-boot-admin

Last synced: 4 months ago
JSON representation

spring-boot-admin plugin for deploying -spring-boot-admin插件用于部署

Awesome Lists containing this project

README

          

# deploy-spring-boot-admin
deploy-spring-boot-admin is a plugin for spring-boot-admin

## Screenshots

![DeployPage](/images/deployPage.png?raw=true)
*Page with deploy actions*

![DeployPage Edit](/images/deployEdit.png?raw=true)
*Page when edit deploy action*

![DeployPage After Execute](/images/deployPageAfterExecute.png?raw=true)
*Page after executing deploy actions*

## sample-project

You can add custom plugins to deploy-spring-boot-admin like sample-project.

see [sample](/sample)

![SamplePage](/images/samplePage.png?raw=true)
*Sample-project Page*

![SamplePage After Running](/images/samplePageAfterRunningCustomAction.png?raw=true)
*Sample-project Page after executing custom action*

## quick-start

Add below dependencies to your pom
```xml

de.codecentric
spring-boot-admin-server
${spring.boot.admin.version}


de.codecentric
spring-boot-admin-server-ui
${spring.boot.admin.version}


io.github.jianzhichun
deploy-spring-boot-admin
0.1.6

```
Meanwhile, you can add spring-boot-starter-mail for mail-notification function
```xml

org.springframework.boot
spring-boot-starter-mail

```

Add configuration to your application.yml
```yaml

spring.boot.admin:
notify:
mail:
enabled: false
url: http://localhost:8080
deploy:
# when project start will run the actions in bootstrap
bootstrap:
- foo
- bar
# charset should be charset in deployed server
charset: gbk
mail:
enabled: false
simpleMailMessage:
from: xxxxx@gmail.com
to:
- xxxx@qq.com
subject: test
text: Hi,
# action means script in deployed server
actions:
foo:
-
exec: ipconfig
bar:
-
exec: ping
args:
- www.baidu.com
-
exec: ipconfig
```
## thanks
[xigongdaEricyang](https://github.com/xigongdaEricyang)

## enjoy