Teach you how to quickly customize SpringBoot banner

 Said before how to quickly create SpringBoot project, the article did not know before the students can see  how five minutes to learn to create a spring boot project.

To give you a one-off, just yards brother effort, today's skills might get you off the list!

Today, we say it's how to customize SpringBoot banner, banner is springboot project started when the print out of the picture, the default is shown below:

Is this something that we can modify / customize it, put it into the way we want.

1.  Why should we customize banner? Perhaps because the company requested that the company's short set, or set to project short. We sometimes can be a little sister for the company to declare by this banner, when the project started printing their own want to love each other expression.

2.  We create a banner.txt file in the resource directory, text written in this document, you can print it out at boot time.

3.  We may think this is too monotonous, and we wanted a little banner art form, that code brother recommended several online sites generated text of art today:

  • http://www.kammerl.de/ascii/AsciiSignature.php

  • http://patorjk.com/software/taag

  • http://www.network-science.de/ascii/

  • https://www.bootschool.net/ascii

4.  above these are almost no difference, our second example, choose a font, enter the text you want to print at the bottom on the artistic output of the corresponding text.

5.  We reproduction art website text output and paste it into banner.txt file to start the spring boot project can be.

6. 就这么简单,2分钟都不要,你就可以完成springboot的banner的定制。最后我们以一个对妹子表达爱意的banner结束。

7. 有需要爱心文本的同学可以发送“P001”到“码农历险记”微信公众号获取。

 

欢迎大家扫码关注公众号 —— 码农历险记,可以第一时间获取技术更新内容。

 

Guess you like

Origin www.cnblogs.com/sunshine6/p/11033105.html