@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
study memo
"ํ์ง๋ ์์ฌ์ค๋ฌ์ด ์์ ๊ถ" ๊ฒฝ๊ณ ๋ ์ผ๋ฐ์ ์ผ๋ก Git์ด ์ ์ฅ์์ ์์ ๊ถ๊ณผ ์ฌ์ฉ์ ๊ถํ ๊ฐ์ ๋ถ์ผ์น๋ฅผ ๊ฐ์งํ์์ ์๋ฏธGit์๊ฒ ํด๋น ์ ์ฅ์๋ฅผ ์ ๋ขฐํ๋๋ก ์ค์ ํ๋ฉด ๋จ cmd์์ git config --global --add safe.directory '๊ฒฝ๋ก'
location /api/ { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' $allowed_origin always; add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PATCH, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization'; add_header 'Access-Control-Allow-Credentials' 'true'; return 204; } ..
`git submodule add 'repository url' [name]` --> ํ๋ก์ ํธ์ ํ๋ก ํธ ๋ ํฌ์งํ ๋ฆฌ ๋ด ํ์ผ์ ๊ฐ์ ธ์ด (npm ๋ฏธ์ค์น ์ ๋จผ์ ์คํ) `npm install` `npm install --force` --> front ์ฝ๋ ์คํ๋จ --> ๊ทธ ํ์ ๋ฐฑ์๋ ์ฝ๋ ์คํํด์ฃผ๊ธฐ ํฐ๋ฏธ๋์์ `ctrl+c` ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ npm ์ข
๋ฃ ๋ค์ ์คํํ ๋ `npm start` ๋ก ์คํํด์ฃผ๊ธฐ โกsubmodule pull ๋ช
๋ น์ด ์๋ธ๋ชจ๋ ์ํ ํ์ธ `git submodule` ->ํ์ฌ ์๋ธ๋ชจ๋์ ์ํ๋ฅผ ํ์ธํจ ์๋ธ๋ชจ๋ ์
๋ฐ์ดํธ `git submodule update --recursive --remote` --> ์๋ธ๋ชจ๋์ ์
๋ฐ์ดํธํ๊ณ ์๋ธ๋ชจ๋์ ์ต์ ์ปค๋ฐ์ ๊ฐ์ ธ์ด ๋ณ๊ฒฝ์ฌํญ ์ปค๋ฐ `git add..