Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
  1. 사전 조건
    1. SRRD DevEnv on Desktop PC 환경설정을 검토 합니다.
  2. IntelliJ에서 Git 프로젝트를 Import 합니다.
  3. IntelliJ Teminal에서 redis container를 실행합니다.
  4. IntelliJ에서 Spring boot 어플리케이션을 실행 합니다.
  5. curl로 호출해 봅니다.
Info

https://github.com/spring-academy/reactive-link-shortener-sample-app




Redis Container 실행

Code Block
languagebash
themeMidnight
titledocker run -d -p 6379:6379 --name redis redis
linenumberstrue
## Redis Container 실행
SanseMac:reactive-link-shortener-sample-app sanse$ docker run -d -p 6379:6379 --name redis redis
Unable to find image 'redis:latest' locally
latest: Pulling from library/redis
f5d23c7fed46: Already exists 
a4a5c04dafc1: Already exists 
605bafc84bc9: Already exists 
f07a4e35cd96: Already exists 
17944e5e3eb7: Already exists 
6f875a8605e0: Already exists 
Digest: sha256:8888f6cd2509062a377e903e17777b4a6d59c92769f6807f034fa345da9eebcf
Status: Downloaded newer image for redis:latest
3a76b32933719cd69fde6a710c1a7b897eb92d42ebcae0ef20dba675419acafb
SanseMac:reactive-link-shortener-sample-app sanse$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
3a76b3293371        redis               "docker-entrypoint.s..."   19 seconds ago      Up 17 seconds       0.0.0.0:6379->6379/tcp   redis
SanseMac:reactive-link-shortener-sample-app sanse$ 
 

...