Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Visual Studio
- templates
- Delphi
- github
- PyCharm
- TMS
- delphi 10.3
- queryset
- GIT
- advColumnGrid
- hackerrank
- rank
- HTML
- get_object_or_404
- MSSQL
- dbadvgrid
- python3
- 중복제거
- pythonanywhere
- 델파이
- python 3.7
- c#
- pyhcarm
- Push
- declare
- blog
- Django
- COMMIT
- anaconda3
- 백준
Archives
- Today
- Total
목록ignore (1)
DevHyun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/blL8R6/btqMb0njAVT/IMg0S2tjUPXnObMjLsk3z0/img.png)
pythonanywhere에서 pull 할때마다 db.sqlite3 파일이 덮어씌어 져서 데이터가 날아가곤 했다. Blog App의 DB를 pythonanywhere에서 제공하는 database 환경(mysql)으로 변경하였음! pythonanywhere에서는 잘 작동하지만 local에서는 pythonanywhere의 mysql로 접근이 안되는 현상이 발생. local에서 작업 한 것을 pythonanywhere에서 배포만 하는 작업 형태인 나에겐 큰 이슈! local에서는 sqlite을 이용하여 개발을 하고 pythonanywhere에서는 mysql로 개발 하기 위해서는 db.sqlite3 파일을 github에 push 할 필요성을 못느꼈음. github에 push할 때 특정 파일들을 ignore 하고..
Web/Django&Python 개발환경 셋팅
2020. 10. 30. 19:18