Languages/Python

[Django] PythonAnywhere로 재배포하기 - Djangogirls

김크롱 2020. 7. 30. 01:39

PythonAnywhere 새 코드 가져오기

PythonAnywhere - Bash console

$ cd ~/my-first-blog  (git에서 clone 해두었던 디렉토리로 이동)

$ git pull [...] (git에서 가져옴)

 

PythonAnywhere Bash console 에서 명령어 입력해 git repository에 있는 코드를 서버에 올림

 

코드 확인

 - PythonAnywhere - Files Tab

 

 

Web App 적용

 - PythonAnywhere - Web Tab - Reload

 

https://tutorial.djangogirls.org/ko/html/ 까지 작업 한 후 보여지는 화면

 

 

 

https://tutorial.djangogirls.org/ko/html/

 

HTML 시작하기 · HonKit

템플릿이란 서로 다른 정보를 일정한 형태로 표시하기 위해 재사용 가능한 파일을 말해요. 예를 들면 편지에도 같은 템플릿을 사용할 수 있어요. 편지의 내용이나 수신인 주소는 달라져도 같은

tutorial.djangogirls.org