study memo

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
"ํƒ์ง€๋œ ์˜์‹ฌ์Šค๋Ÿฌ์šด ์†Œ์œ ๊ถŒ" ๊ฒฝ๊ณ ๋Š” ์ผ๋ฐ˜์ ์œผ๋กœ 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..
sebarii
'study memo' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก