macOS에서 준비하기

이 도움말은 이런 주제들에 대해서 다뤄요.

  1. 설치 환경

  2. 서버 저장소 파일 다운로드하기

  3. 빌드(build) 환경 구축하기

참고

이 설명들은 command-line을 많이 활용해요. macOS Terminal application을 어느정도 쓸 줄 알아야 해요.

설치 환경

먼저 시스템에 이 패키지(package)들이 있는지 확인하고, 없다면 설치하세요.

When using Homebrew, run the following commands in the terminal:

python3 -m ensurepip
brew install git git-lfs
git lfs install

서버 저장소 파일 다운로드하기

Simply check out the Blender Manual’s repository using:

cd ~
git clone https://projects.blender.org/blender/blender-manual.git

그러면 저장소 파일들이 다운로드될 거예요. 인터넷이 느리면 몇 분이 걸릴 수도 있어요.

빌드(build) 환경 구축하기

  • 터미널 창을 여세요.

  • Enter the blender-manual folder which was just added by git clone:

    cd ~/blender-manual
    
  • Install dependencies:

    make setup
    

참고

Every now and then you need to re-run this command, to make sure dependencies are up to date.

make setup automatically creates a virtual environment using these commands:

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

This avoids interfering with the system Python installation, following PEP 668

The Sphinx command is available at:

.venv/bin/sphinx-build