Skip to content

๐Ÿ›ต Schoolvery(์Šค์ฟจ๋ฒ„๋ฆฌ) - ๊ต๋‚ด ๋ฐฐ๋‹ฌ๋น„ ๊ณต์œ  ์„œ๋น„์Šค ๋ฐฑ์—”๋“œ

Notifications You must be signed in to change notification settings

team-e-techeer/schoolvery-be

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

schoolvery-be

Docker ์‹คํ–‰

  1. .env.example ํŒŒ์ผ์˜ ๋ณต์‚ฌํ•˜๊ณ  ๋ณต์‚ฌ๋ณธ์˜ ์ด๋ฆ„์„ .env๋กœ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
  2. ํ•ด๋‹น ํŒŒ์ผ์— ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
  3. application.properties์— jwt ๊ด€๋ จํ•œ ์„ค์ •์„ ์ฃผ์„ ํ•ด์ œ ํ•ด์ค๋‹ˆ๋‹ค.
  4. ./gradlew build ๋˜๋Š” ./build.sh๋ฅผ ํ†ตํ•ด jar ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
    ๋งŒ์•ฝ ./gradlew build๊ฐ€ ์•ˆ๋œ๋‹ค๋ฉด gradle wrapper ๋˜๋Š” ./initialize.sh์„ ์‹คํ–‰ํ•ด์ค๋‹ˆ๋‹ค.
    ๋งŒ์•ฝ contextLoads() FAILED ์—๋Ÿฌ๊ฐ€ ๋‚˜๋ฉด ๋ฌด์‹œํ•ด์ค˜๋„ ๋ฉ๋‹ˆ๋‹ค.
    build/libs ์•ˆ์— schoolvery-server-0.0.1-SNAPSHOT.jar(์ถ”ํ›„ ๋ณ€๊ฒฝ ๊ฐ€๋Šฅ) ๋ผ๋Š” ํŒŒ์ผ๋งŒ ์กด์žฌํ•œ๋‹ค๋ฉด ์‹คํ–‰ํ•˜๋Š”๋ฐ ๋ฌธ์ œ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

์ผ๋ฐ˜(๊ฐœ๋ฐœ์šฉ) ์‹คํ–‰

docker compose up --build
์ค‘์ง€: docker compose down

ํ…Œ์ŠคํŠธ์šฉ ์‹คํ–‰

./scripts/production-run.sh
์ค‘์ง€: ./scripts/production-down.sh

About

๐Ÿ›ต Schoolvery(์Šค์ฟจ๋ฒ„๋ฆฌ) - ๊ต๋‚ด ๋ฐฐ๋‹ฌ๋น„ ๊ณต์œ  ์„œ๋น„์Šค ๋ฐฑ์—”๋“œ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages