본문 바로가기
반응형
[개발 기본 규칙] Python 프로젝트 구조 기본 프로젝트 구조project_name/├── project_name/│ ├── __init__.py│ ├── module1.py│ ├── module2.py│ └── ...├── tests/│ ├── __init__.py│ ├── test_module1.py│ ├── test_module2.py│ └── ...├── docs/│ └── ...├── scripts/│ └── ...├── .gitignore├── requirements.txt├── setup.py└── README.md디렉토리 및 파일 설명프로젝트 루트 디렉토리 (project_name/): 프로젝트 전체를 포함하는 최상위 디렉토리입니다.패키지 디렉토리 (project_name/): 실제 코드가 포함된.. 2024. 7. 3.
[Django] Project 및 Application Index 1. 프로젝트/애플리케이션 2. Django 명령어 3. 프로젝트 구조 4. 프로젝트 설정 5. 애플리케이션 구조 Reference 1. 프로젝트 / 애플리케이션 프로젝트/애플리케이션 - 프로젝트: 재사용 가능. 여러 애플리케이션을 포함하는 웹 사이트 - 애플리케이션: 모델, 뷰, 템플릿 및 URL의 그룹. 프레임워크와 상호작용해서 특정 기능을 제공 및 재사용 2. Django 명령어 Django 명령어 # 프로젝트 생성 django-admin startproject # 애플리케이션 생성 python manage.py startapp # 개발서버 실행 python manage.py runserver [url주소:port번호] [--settings=프로젝트폴더.settings] 3. 프로젝트 .. 2024. 4. 21.
[GitHub] GitHub 사용법 Index 1. GitHub 회원가입 및 로그인 2. Remote Repository 생성 및 Local Repository 연동하기 3. GitHub Shortcuts 4. Project 5. Issue 6. Pull Requeset 7. WikiReference1. GitHub 회원가입 및 로그인1. GitHub 접속2. 위측 상단의 회원가입(Sign up) 및 로그인(Sign in) 클릭 2. Remote Repository 생성 및 Local Repository와 연동하기1. GitHub 페이지의 New 버튼 혹은 Repository의 New 버튼 클릭 2. Repository 생성 페이지 입력 후 Create repository 버튼 클릭- Repository name: 저장소 이름- Des.. 2023. 10. 15.
반응형