zzangyeah 2021. 5. 25. 19:31
728x90

나는 웹쪽은 진짜 더럽게 안 맞는 거 같다

차라리 백준풀고싶다,,,

 

github desktop으로 github에 로컬 폴더 올리고 싶을 때

1. github desktop을 켜고 File-add local repository를 키고 업로드 하고 싶은 폴더 choose

2. add repository가 바로 안됨 create repository물어볼건데 건드릴 거 따로 없고 create해준다

3. create됐으면 publish해주는데 keep this code private 체크박스를 풀고 해준다

4. github들어가보면 올라와있는 거 확인가능!

 

vscode에서 수정하게 되면

1. github desktop에서 commit push

2. putty로 돌아와서 manage.py파일이 있는 곳으로 돌아와서 git pull origin (Current branch이름) 내 경우엔 Current branch 이름이 main이라서 git pull origin main이라고 쳤다 대부분 master로 되어있을것

3. pull 완료되면 다시 python3 manage.py runserver 0:8080실행하고 웹페이지로 접속해보면 화면이 떠있을것!

 

이 분 블로그보면서 따라하면 천천히 따라하면 배포할 수 있움 천재만재 천사님ㅜ

https://nerogarret.tistory.com/category/%EC%9B%B9/Django

 

'웹/Django' 카테고리의 글 목록

 

nerogarret.tistory.com