New Lektor Approach: build your lektor docker container: docker build -t lektorcontainer docker run your lektor server docker run -it -v ${PWD}/lektordata:/opt/lektor -p 5000:5000 lektorcontainer lektor serve -h 0.0.0.0 thats all! If you would start from scratch you wolud delete all contents in lektordata/ and run docker run -it -v ${PWD}/lektordata:/opt/lektor lektorcontainer lektor quickstart Old Hugo Approach: hugo new site pcs --format yaml cd pcs git init hugo mod init pcsmod hugo mod get github.com/imfing/hextra add the following to hugo.yaml: module: imports: - path: github.com/imfing/hextra hugo new content/_index.md hugo new content/docs/_index.md hugo server --buildDrafts --disableFastRender