LeeJongbokz / interviewPrep

2 stars 2 forks source link

๐Ÿง‘๐Ÿปโ€๐Ÿ’ป InterviewPrep

์›น์‚ฌ์ดํŠธ URL

http://www.interviewprep.kr/

๐Ÿ‘ฅ ํŒ€์›

Backend Backend Backend Frontend Frontend
์ด์ข…๋ณต ์ง„์€ํ˜œ ์ž„์ •ํƒ ๋„์œค ์ด์ง€ํ™


๐Ÿงšโ€โ™€๏ธ ๋กœ์ปฌ ์„ธํŒ… ๊ฐ€์ด๋“œ

1) Repository์—์„œ ํ”„๋กœ์ ํŠธ๋ฅผ ๋‹ค์šด ๋ฐ›์Šต๋‹ˆ๋‹ค.

      git clone https://github.com/f-lab-edu/interviewPrep.git

2) h2๋ฅผ ์„ค์น˜ํ•˜๊ณ , ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.

(1) h2 ์›น ์‚ฌ์ดํŠธ์—์„œ h2๋ฅผ ๋‹ค์šด ๋ฐ›์Šต๋‹ˆ๋‹ค.

      http://h2database.com/html/main.html

(2) h2์˜ JDBC URL์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

     jdbc:h2:tcp://localhost/~/interviewPrep

(3) h2์— ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.

4) Redis๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

(1) Docker๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

      https://docs.docker.com/desktop/install/windows-install/

(2) Redis Image๋ฅผ ๋ฐ›์•„์˜ต๋‹ˆ๋‹ค.

      docker pull redis

(3) docker-compose๋กœ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

      docker-compose up -d  

(4) Redis-cli๋กœ ์ ‘์†ํ•ด์„œ, ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

      docker exec -it redis_test redis-cli