diff --git a/README.md b/README.md index 751dbf8..8a3c3f2 100644 --- a/README.md +++ b/README.md @@ -62,89 +62,7 @@

๐Ÿฃ ํ”„๋กœ์ ํŠธ ์‹œ์ž‘ํ•˜๋Š” ๋ฒ•

-

โ˜…๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ๊ด€๋ฆฌ์ž ์„œ๋ฒ„์™€ ๊ฒŒ์‹œํŒ ์„œ๋ฒ„๊ฐ€ ๋ถ„๋ฆฌ๋˜์–ด ์žˆ์–ด ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰์‹œํ‚ค๊ธฐ ์œ„ํ•ด ์„ค์ •์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹คโ˜…

- -

1. ymlํŒŒ์ผ ์„ค์ •ํ•˜๊ธฐ

-

1-1. module-board์˜ ymlํŒŒ์ผ ์„ค์ •ํ•˜๊ธฐ (๊ฒŒ์‹œํŒ ์‹คํ–‰์‹œ)

- ```yaml -server: - port: 8080 - servlet: - encoding: - charset: utf-8 - force: true - -spring: - autoconfigure: - exclude: org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration - datasource: - username: # ๋ณธ์ธ์˜mysql ๋ฐ์ดํ„ฐ name - password: # ๋ณธ์ธ์˜mysql ๋ฐ์ดํ„ฐ password - url: # ๋ณธ์ธ์˜ mysql ๋ฐ์ดํ„ฐ url - driver-class-name: com.mysql.cj.jdbc.Driver - jpa: - show-sql: true - hibernate: - ddl-auto: update - properties: - hibernate: - ddl-auto: update - format_sql: true -file: - dir: C://Users//User//IdeaProjects//normal-board//module-board//src//main//resources//static//asset//upload// -# ํŒŒ์ผ ๊ฒฝ๋กœ๋Š” //normal-board ์ „๊นŒ์ง€ ๋ณธ์ธ์˜ ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ๋กœ ๋งž๊ฒŒ ์„ค์ •ํ•˜์„ธ์š” -``` -

1-2. module-admin์˜ ymlํŒŒ์ผ ์„ค์ •ํ•˜๊ธฐ (๊ด€๋ฆฌ์ž ์‹คํ–‰์‹œ)

- -```yaml -server: - port: 8081 - servlet: - encoding: - charset: utf-8 - force: true -spring: - datasource: - username: # ๋ณธ์ธ์˜mysql ๋ฐ์ดํ„ฐ name - password: # ๋ณธ์ธ์˜mysql ๋ฐ์ดํ„ฐ password - url: # ๋ณธ์ธ์˜ mysql ๋ฐ์ดํ„ฐ url - driver-class-name: com.mysql.cj.jdbc.Driver - thymeleaf: - prefix: classpath:templates/thymeleaf - suffix: .html - mode: HTML - check-template-location: true - cache: false - mail: - host: smtp.gmail.com - port: 587 - username: # ๋ณด๋‚ด๋Š”์ด ์ด๋ฆ„ - password: # ๋ณธ์ธ ์„ค์ • gmail ์ธ์ฆ ๋น„๋ฐ€๋ฒˆํ˜ธ - properties: - mail: - smtp: - auth: true - timeout: 5000 - starttls: - enable: true -mybatis: - mapper-locations: - - classpath:mapper/**.xml # classpath -> resource ํด๋”๋ฅผ ์ฐพ์Œ. - configuration: - map-underscore-to-camel-case: true # under_score ํ˜•์‹์„ ์นด๋ฉœํ‘œ๊ธฐ๋ฒ•์œผ๋กœ ๋ณ€ํ™˜ -file: - dir: C://Users//User//IdeaProjects//normal-board//module-board//src//main//resources//static//asset//upload//report -# ํŒŒ์ผ ๊ฒฝ๋กœ๋Š” //normal-board ์ „๊นŒ์ง€ ๋ณธ์ธ์˜ ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ๋กœ ๋งž๊ฒŒ ์„ค์ •ํ•˜์„ธ์š” -``` -

2. ํฌํŠธ ๋‹ค๋ฅด๊ฒŒ ์žก๊ธฐ
edit configurations ํ™”๋ฉด์—์„œ Modify optionsํด๋ฆญ -> add VM Options์ถ”๊ฐ€
-Dserver.port=8080 (board ์•ฑ ์ชฝ)
-Dserver.port=8081 (admin ์•ฑ ์ชฝ)

- -![image](https://github.com/Spring-Board-Toy3/normal-board/assets/69192549/84d5cefe-112f-4caa-98bb-886e83b1324b) - -
-

3. ์‹ ๊ณ ํ•˜๊ธฐ img๊ฒฝ๋กœ ํด๋” ์ƒ์„ฑ : module-board์˜ ๋‹ค์Œ ๊ฒฝ๋กœ์— reportํด๋”๋ฅผ ์ƒ์„ฑํ•ด์ฃผ์„ธ์š”

- - ![image](https://github.com/Spring-Board-Toy3/normal-board/assets/69192549/2083f0a0-1fa5-4562-ad6c-c18748f645c2)

๐Ÿ–ฅ ๊ธฐ๋Šฅ ์†Œ๊ฐœ

1. ํšŒ์›๊ฐ€์ž…(/join) & ๋กœ๊ทธ์ธ(/login)
- ํšŒ์›๊ฐ€์ž…์‹œ ์•„์ด๋”” ์ค‘๋ณต์ฒดํฌ