With Docker Compose:
$ git clone git@github.com:foliant-docs/foliant.git
$ cd foliant/docs
# Site:
$ docker compose run --rm site
# PDF:
$ docker compose run --rm pdf
With pip and stuff (requires Python 3.6+, Pandoc, and TeXLive):
$ git clone git@github.com:foliant-docs/foliant.git
$ cd foliant/docs
$ pip install -r requirements
# Site:
$ foliant make site
# PDF:
$ foliant make pdf