분류 전체보기408 aws 호스팅2 https://wikidocs.net/75556 4-09 WSGI 장고 서버를 구동하기 위해 지금까지는 `python manager.py runserver` 처럼 장고의 내장 서버를 구동하는 방식을 사용했다. [[TIP(점프 투 장고)… wikidocs.net WSGI 장고 서버를 구동하기 위해 지금까지는 python manager.py runserver 처럼 장고의 내장 서버를 구동하는 방식을 사용했다. 장고의 내장서버 장고의 내장 서버는 웹 서버와 WSGI 서버의 기능을 모두 포함하고 있다. 다만 내장 서버는 기능이 단순하고 '대량 요청'이나 '동시 요청'을 효율적으로 처리하지 못하므로 운영 환경에는 적합하지 않다. 개발 환경이 아닌 운영 환경에서 어떻게 웹 서버와 WSGI 서버를 구성해야 하는지 알.. 2023. 4. 28. aws 호스팅1 https://wikidocs.net/72283 4장 세상에 선보이는 파이보 서비스! 드디어 파이보를 만드는 긴 여정을 마무리했다. 4장에서는 파이보 서비스를 잘 관리하는 방법과 파이보 서비스를 세상에 선보이는 방법을 알아본다. 서비스 관리에는 깃이라는… wikidocs.net 윈도우용 SSH 터미널 프로그램 (MobaXterm) 설치 윈도우용 SSH 터미널 프로그램 (MobaXterm) 설치 - ubuntu기반 다운로드 : mobaxterm.mobatek.net/download.html 설정 : 1. Session 아이콘 click 2. Basic SSH setting : Remote host : 고정IP 입력 3. Specify username ubuntu 체크 4. User Private key :.. 2023. 4. 28. [ vscode ] VScode 환경설정 [ 권장 설정 ] [ setting ] terminal>Integrated: Cwd 기본 터미널 경로 변경 [ launch.json ] [ settings.json ] 2023. 4. 23. sendgrid를 통한 메일 전송 1. SendGrid에 회원가입 한다. 2. settings > API Keys로 접속해서 API Key를 생성한다. (https://app.sendgrid.com/settings/api_keys) 3. API Key를 생성하고 나면 Create a sender identity 문구가 출력된다. 4. 출력 문구를 클릭 후 Sender Email 생성 (https://app.sendgrid.com/settings/sender_auth/senders/new) 5. 샌더 이메일 인증 과정 필요 6. SendGrid 관련 settings.py 설정 2023. 4. 18. Chapter 10: Bootstrap Chapter 10: Bootstrap Web development requires a lot of skills. Not only do you have to program the website to work correctly, users expect it to look good, too. When you're creating everything from scratch, it can be overwhelming to also add all the necessary HTML/CSS for a beautiful site. Fortunately there'sBootstrap, the most popular framework for building responsive, mobile-first pro.. 2023. 4. 17. User Authentication Chapter 9: User Authentication Now that we have a working custom user model we can add the functionality every website needs: the ability to sign up, log in, and log out users. Django provides everything we need for log in and log out but we will need to create our own form to sign up new users. We'll also build a basic homepage with links to all three features so we don't have to type i.. 2023. 4. 17. Django db.sqlite3 초기화 1. 프로젝트의 db.sqlite3 삭제 (manage.py와 동일 위치의) 2. 각 앱별 migrations의 __init__.py를 제외한 모든 파일/폴더를 삭제한다 - __pycache__ 폴더 - 000으로 시작하는 초기화 파일 3. 앱별 makemigrations / migrate 실행 $ python manage.py makemigrations App명 $ python manage.py migrate App명 # 필요시 Django reinstall pip install --upgrade --force-reinstall Django 2023. 4. 16. User Accounts Chapter 8: Custom User Model Django's built-inUser modelallows us to start working with users right away, as we just did with our Blog app in the previous chapters. However theofficial Djangodocumentationhighly recommends using a custom user model for new projects. Thereason is that if you want to make any changes to the User model down the road–-for example adding an age field-–using a cust.. 2023. 4. 16. Forms 2023. 4. 15. 이전 1 ··· 12 13 14 15 16 17 18 ··· 46 다음