Linux에서 준비하기

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

  1. 설치 환경

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

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

설치 환경

이 명령어들은 가장 많이 쓰이는 리눅스 배포판(distribution)에서 사용 가능해요.

자기의 시스템에 맞는 명령어를 터미널에서 실행하세요.

Debian/Ubuntu:

sudo apt-get install python3 python3-pip git git-lfs
git lfs install --skip-repo

Redhat/Fedora:

sudo dnf install python python-pip git git-lfs
git lfs install --skip-repo

Arch Linux:

sudo pacman -S python python-pip git git-lfs
git lfs install --skip-repo

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

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