|
웹 애플리케션 명 | 기능 | 뷰 이름 | Type | 파일명 [템플릿] | 경로명 |
djangoOrder | 회원가입 | signup | html templates/views.py | signup.html | \templates\registration |
djangoOrder | 로그인 | login | html templates/views.py | login.html | \templates\registration |
djangoOrder | 로그아웃 | logout | html templates/views.py | logged_out.html | \templates\registration |
djangoOrder | 메인페이지 | index | html templates/views.py | index.html | \src\templates |
djangoOrder | 배송지 등록 | postal | html templates/views.py | posttest.html | \templates\ordersystem |
djangoOrder | 배송지 등록 목록 | postresult | html templates/views.py | postresult.html | \templates\ordersystem |
djangoOrder | 주문서 작성 | orderwrite | html templates/views.py | orderwrite.html | \templates\ordersystem |
djangoOrder | 주문서 목록 | orderlist | html templates/views.py | orderlist.html | \templates\ordersystem |
djangoOrder | 쇼핑 상품 정보 | goodslist | html templates/views.py | goodslist.html | \templates\ordersystem |
리소스 유형 | 배포 방식 |
웹 리소스 | 이미지 | 웹 서버상 해당 경로로 복사 |
웹 리소스 | HTML (Templates) | 웹 서버상 해당 경로로 복사 |
프로그램 | 서버 프로그램 (.py 파일) | 웹 서버상 해당 경로로 복사 |
공통 | CSS/JS 파일 | 웹 서버상 해당 경로로 복사 |
애플리케이션 배포 환경을 위해 설치한 도구와 시스템 운영을 위한 상세 구성 및 설정
시스템 환경 변수: 배포할 Django 애플리케이션의 Settings.py 에서 SECRET_KEY 값을 찾아서 시스템 환경 변수에 추가
Apache 설정 변경 [httpd.conf] 설정 수정 : 밑의 코드의 값을 개발자 환경에 맞게 수정하여 추가한다.
# 자신의 서버 환경에 맞추어야 합니다.
LoadFile "C:/Users/vision/Anaconda3/python37.dll"
LoadModule wsgi_module "C:/Users/vision/Anaconda3/Lib/site-packages/mod_wsgi/server/mod_wsgi.cp37-win_amd64.pyd"
LoadModule wsgi_module modules/mod_wsgi.cp37-win_amd64.pyd
WSGIPythonHome "c:/users/vision/anaconda3"
###############################################
WSGIScriptAlias / "C:\djangoOrder\wsgi.py"
WSGIPythonPath "C:\djangoOrder"
###############################################
<Directory "c:\djangoOrder">
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static/ c:/djangoOrder/static/
<Directory c:/djangoOrder/static/>
Require all granted
</Directory>
Alias /media/ c:/djangoOrder/media/
<Directory c:/djangoOrder/media/>
Require all granted
</Directory>
형상관리 서버: Github 사용 [ https://github.com/leejh4851/test ]
구동 영상 [Host]
구동 영상 [Client]
수정, 삭제 기능