Skip to content

2024-Winter-Bootcamp-Team-J/backend

Repository files navigation

backend

프로젝트명

요구사항

  • Docker
  • Docker Compose
  • Git
  • .env 루트 디렉토리에 생성 및 노션 참고 복붙
    • ( secretkey의 경우 settings.py 본인 키값 사용 )

설치 및 실행

  1. 깃헙 저장소에서 프로젝트를 클론하세요:

    git clone https://github.com/yourusername/your-repository.git
    cd your-repository
  2. .env 파일을 작성하세요: .env.example 파일을 참고하여 .env 파일을 생성합니다. .env 루트 디렉토리에 생성 및 노션 참고 복붙

  3. Docker Compose를 실행하세요:

    docker-compose up -d --build
  4. Django에 필요한 마이그레이션을 실행하세요:

    docker exec -it django_web bash
    python manage.py migrate
  5. 파이썬 버전 3.9 설치

    brew install [email protected]
    python3.9 --version
    
  6. 가상환경 설정 및 설치

    python3.9 -m venv venv
    source venv/bin/activate
    python --version
    pip install -r requirements.txt
    
  7. 애플리케이션에 접속하세요: 브라우저에서 http://localhost:8000를 열어 프로젝트를 확인하세요.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6