Skip to content

samzong/deployKF-website

 
 

Repository files navigation

deployKF - Website

The website for deployKF.

Local Development

  1. create a clean miniconda environment using conda create -n mkdocs python==3.11 (or use your preferred python environment manager)
    • we highly recommend NOT using full Anaconda and instead using Miniforge or Mambaforge
    • on macOS, you may install Mambaforge by running brew install --cask mambaforge and then conda init "$(basename "${SHELL}")" to add conda to your shell
  2. activate your conda environment using conda activate mkdocs
  3. install the python requirements using pip install -r ./requirements.txt -r ./requirements-dev.txt
  4. 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="$(brew --prefix)/lib" for cairo to work
      • you can set DYLD_FALLBACK_LIBRARY_PATH permanently by adding the export to your ~/.zshrc file
    • Ubuntu
      • run apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
  5. serve a local version of the website using mkdocs serve

Releases

No releases published

Packages

No packages published

Languages

  • Python 36.8%
  • CSS 34.9%
  • HTML 22.4%
  • Shell 5.9%