Skip to content

Building Docs and Website

Setup Python

Follow the Python official document to install Python 3.7 or above.

(optional) use pyenv to manage Python virtualenv on macOS

Optionally, pyenv is recommended to manage Python environments on macOS.

Install from Homebrew

brew install pyenv pyenv-virtualenv

Setup in ~/.zshrc

eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

Install virtualenv

pyenv install 3.9.13
pyenv virtualenv 3.9.13 celeborn

Localize virtualenv

pyenv local celeborn

Install dependencies

pip install -r requirements.txt

Preview website

mkdocs serve

Open in browser.