You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Created by https://www.gitignore.io/api/django# Edit at https://www.gitignore.io/?templates=django### Django ###*.log*.pot*.pyc__pycache__/local_settings.pydb.sqlite3media# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
!.elasticbeanstalk/*.cfg.yml -> 이 파일은 절대 무시하면 안된다는 것.
$ deactivate### eb init을 사용하여 초기화 과정 진행
$ ebinit-ppython-3.6first(어플리케이션이름아무거나)
### IAM credential CSV파일에 있는 id랑 key를 입력해줍니다! ### "Application first has been created." 화면에 뜨면 어플리게이션이 잘 생성되었다는 것
$ ebcreatefirst(환경이름아무거나)
### 어플리케이션 이름과 동일해도 상관없다. ### "2020-05-19 16:18:24 INFO Successfully launched environment: first" 환경이 잘 생성됨.
CName 확인하기
$ eb status
CName을 복사해서 settings.py의 ALLOWED HOST에 붙여넣기
ALLOWED_HOSTS= ['여기에 CName']
📍배포 전 git에 push하기
배포하기
$ ebdeploy### "2020-05-19 16:21:02 INFO Environment update completed successfully." 환경이 잘 생성됨.