wsgi1 우분투18.04에서 gunicorn으로 flask앱 실행 서버 설치 후 패키지 정보 업데이트와 업그레이드 진행 sudo apt update && sudo apt upgrade -y 가상환경을 위한 패키지 준비 sudo apt install python3-pip python3-dev build-essential libssl-dev libffi-dev python3-setuptools sudo apt install python3-venv 플라스크 프로젝트 다운로드 git clone https://github.com//.git 프로젝트에 가상환경 생성 cd / python3 -m venv venv source venv/bin/activate (venv)pip install wheel (venv)pip install gunicorn flask 하단에 호스트 속성 추가.. 2020. 9. 24. 이전 1 다음