Skip to content

KIM-JS-95/PillIInfoService

Repository files navigation




πŸ’Š Project. EBKM πŸ’Š

Eat Before Knowing The Medicine







πŸ’Š INTRO

γ€Œ μ•„λ“€! β€˜ν”„λ‘œν”„λΌλ†€λ‘€β€™ 효λŠ₯이 λ­λ‹ˆ? 」

ν”„λ‘œμ νŠΈλŠ” μ—„λ§ˆμ˜ ν•œλ§ˆλ””μ—μ„œ μ‹œμž‘λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
λŒ€ν•œλ―Όκ΅­μ˜ λΆ€λͺ¨λ‹˜κ»˜ μ•ˆμ „ν•˜κ²Œ 약을 λ³΅μš©ν•΄ λ“œλ¦¬κ³  싢은 λ§ˆμŒμ—μ„œ κ°œλ°œν–ˆμŠ΅λ‹ˆλ‹€.
μ΄μ œλŠ” μΈν„°λ„·μœΌλ‘œ μ°Ύμ§€ 말고 검색 ν•œ 번으둜 정보λ₯Ό μ°ΎμœΌμ„Έμš”!

γ€Œ Son! What's the effect of propranolol? 」

The project started with my mother's words.
I developed it with the desire to take medicine safely to my parents in Korea.
Don't look it up on the Internet anymore, just search for information!



πŸ’Š Tools

πŸƒ Language & FrameWork

s s

πŸƒ Infra

Docker Jenkins AWS




πŸ’Š ꡬ성도

BE

πŸ’Š Do you want to clone this Repo?

πŸƒ Step 1

server.port=8080

pillUrl ="End Point"

medic.client.Encoding="Your Encoding Key"
medic.client.Decoding="Your Decoding Key"

πŸƒ Step 2

❗❗ μ£Όμ˜μ‚¬ν•­ ❗❗

λ‹€μŒ shellνŒŒμΌμ€ μ΅œμ’… 배포 과정을 μžλ™ν™”ν•˜λŠ” μžλ™μŠ€ν¬λ¦½νŠΈ 파일 μž…λ‹ˆλ‹€.

πŸ™…β€β™‚οΈ 개인 섀정에 λ§žμΆ”μ–΄ μ‚¬μš©ν•΄ μ£Όμ„Έμš”. πŸ™…β€β™‚οΈ

❗❗ NOTICE ❗❗

The following 'shell' file is an automated script file that automates the final deployment process.

πŸ™…β€β™‚οΈ Please use it according to your personal settings. πŸ™…β€β™‚οΈ

deploy.sh

container_name="Container_name";
repository="Your Docker Repository name";

# κΈ°μ‘΄ μ»¨ν…Œμ΄λ„ˆ μ •μ§€ ν›„ 이미지 제거
echo "Container stop and remove";

# shellcheck disable=SC1007
container_id=$(docker ps -aqf "name= ${container}");

echo "Docker : container_id = ${container_id}";

echo "Container stop"
docker stop ${container_id}
docker rm ${container_id}

echo "Docker image remove"
docker rmi ${repository}

# jar νŒŒμΌμ„ λ§Œλ“€κ³  μ΄λ―Έμ§€λ‘œ λ§Œλ“€κΈ°

echo "DockerFile start. . ."
 docker build -t ebkm:latest .
 docker run -d --name ${container_name} -p 8080:8080 ebkm:latest


echo "image push to docker hub"
docker tag ebkm ${repository}:latest
docker push ${repository}:latest

πŸƒ Using

Don't use deploy.sh

you should this comment

docker-compose up -d

πŸ’Š Reference


πŸ’Š 더 μžμ„Έν•œ μ •λ³΄λŠ” λ…Έμ…˜μ—μ„œ 확인해 μ£Όμ„Έμš”!

Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β 

πŸ”Ί Jason's Notion 으둜 이동! Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  πŸ”Ί Front_End Part 둜 이동!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors