The website for deployKF.
- create a clean miniconda environment
conda create -n mkdocs python==3.11
- activate your conda environment:
conda activate mkdocs
- install the python requirements:
pip install -r ./requirements.txt -r ./requirements-dev.txt
- install the MkDocs social plugin dependencies on your computer:
- MacOS
- run
brew install cairo freetype libffi libjpeg libpng zlib
- you may need to run
export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib
for cairo to work (make it permanent by adding to your~/.zshrc
file)
- run
- Ubuntu
- run
apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- run
- MacOS
- serve a local version of the website:
mkdocs serve --watch-theme