내일배움단 11일메이킹챌린지 11일차

김도윤·2021년 7월 29일
0

프로젝트

작업은 어제 다 끝(?)냈고, 오늘은 발표일! 서버는 조장님이 하시기로 하셨으니 그냥 복습 겸 AWS로 웹페이지 구동하는 부분만 다시 remind 해야겠다.

gitbash를 실행하고 다음 명령어를 입력한다.

ssh -i /경로/키페어.pem ubuntu@aws아이피

리눅스에서 사용 가능한 명령어는 ls, cd, rm, sudo 등이 있다.

EC2를 setting 하고 서버를 run한다.

sudo chmod 755 initial_ec2.sh
./initial_ec2.sh

python app.py

나머지 설정은 AWS에서 간단하게 포트포워딩 정도만 하면 되니 패스!

마지막 og태그는 다음과 같이 적용한다.

<meta property="og:title" content="title" />
    <meta property="og:description" content="description" />
    <meta property="og:image" content="{{ url_for('static', filename='ogimage.jpg') }}" />

11일 프로젝트 진짜 끝!!

profile
Newbie

0개의 댓글

관련 채용 정보