ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๋ฐ˜์‘ํ˜•

โœ… Springboot ์ฝ˜์†” ๋ฐฐ๋„ˆ ๋ณ€๊ฒฝ

์Šคํ”„๋ง๋ถ€ํŠธ ์—ํ”Œ๋ ˆ์ด์ผ€์ด์…˜ ์‹œ์ž‘ ์‹œ ๋ฐฐ๋„ˆ๋ฅผ ๋ณ€๊ฒฝํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์•„๋ž˜ ์‚ฌ์ดํŠธ์— ์ ‘์†ํ•˜์—ฌ ์›ํ•˜๋Š” ๋ฌธ๊ตฌ๋ฅผ ์ƒ์„ฑ ํ›„ resources/banner.txt ํŒŒ์ผ์— ์ƒ์„ฑ๋œ ๋ฌธ์ž์—ด์„ ๋„ฃ์–ด์ค๋‹ˆ๋‹ค.

https://devops.datenkollektiv.de/banner.txt/index.html

 

Spring Boot banner.txt generator

 

devops.datenkollektiv.de

ํ…์ŠคํŠธ ์ƒ‰์ƒ ๋ณ€๊ฒฝ

banner.txt ํŒŒ์ผ์— ๋ผ์ธ ์ œ์ผ ์•ž์— ${AnsiColor.RED} ์ด๋Ÿฐ์‹์œผ๋กœ ์ƒ‰์„ ์ค„์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค.

 

banner.txt์— ๋“ค์–ด๊ฐˆ ์†์„ฑ๋“ค

${application.formatted-version} : (v1.0.0)
${application.title} : myAppTitle
${application.version} : 1.0.0
${spring-boot.formatted-version} : (v2.9.10.RELEASE)
${spring-boot.version} : 2.9.10.RELEASE

 

application.xml ์„ค์ •๋“ค

spring:
  banner:
    charset: UTF-8
    location: classpath:banner.txt
    image:
      location: classpath:banner.gif
      bitdepth: 1
      invert: false
      margin: 3
      pixelmode: text
      width: 7
      height: 7

๋””ํ…Œ์ผํ•œ ์„ค์ •์€ ํ•„์š”์—†๋‹ค ์‹ถ์œผ๋ฉด

๊ทธ๋ƒฅ txt๋ฐฐ๋„ˆ๋งŒ ์ ์šฉํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด resource/banner.txt ๋งŒ ๋„ฃ์–ด์ค˜๋„ ๋ฉ๋‹ˆ๋‹ค

๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
๊ธ€ ๋ณด๊ด€ํ•จ
๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (80)
๐Ÿ“บ Develop (0)
๐ŸŒ‹ Error Fixed (5)
๐Ÿ— Tool (5)
๐Ÿ’ป MacBook M1 (15)
๐Ÿ“ฆ ETC (1)

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์Šต๋‹ˆ๋‹ค.