부트캠프/SKT FLY AI
[Network] MS Azure 사용
FionaisFiona
2024. 1. 11. 11:26
Azure의 가상머신으로 들어가기
git 설정 끗
git clone 완료
① sudo apt install python3-pip 깔고 sudo apt install python3-flask 깔기
② python3 -m flask run --host=0.0.0.0 --port=5000 로 실행
③ Azure에서 포트번호랑 git repo이름이랑 동일시키기
④ 다른 cmd창에서 원래 실행중인 cmd를 끄지 않고 curl ip주소를 입력하면 해당 포트에 있는 내용이 출력된다.