From 0dfbcd0ee9b69fd4799c132e42b0a8941f2ea30c Mon Sep 17 00:00:00 2001 From: Ulf Markwardt <ulf.markwardt@tu-dresden.de> Date: Wed, 22 Sep 2021 14:22:56 +0200 Subject: [PATCH] Update contribute_container.md --- contribute_container.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/contribute_container.md b/contribute_container.md index cc1221844..908d5e309 100644 --- a/contribute_container.md +++ b/contribute_container.md @@ -48,17 +48,15 @@ To make use of `mkdocs`, it is necessary to have two commands in mind ``` #### Preview Using mkdocs With Dockerfile - ``` cd /tmp git clone git@gitlab.hrz.tu-chemnitz.de:hpcsupport/hpc-compendium.git cd hpc-compendium docker build -t hpc-compendium . # this takes a bit longer +``` -# local web server -docker run --name=hpc-compendium -p 8000:8000 --rm -it -w /docs -v /tmp/hpc-compendium/doc.zih.tu-dresden.de:/docs:z hpc-compendium bash -c "mkdocs build && mkdocs serve -a 0.0.0.0:8000" - - +As a check you might want to start a local web server a check it with your browser via (http://localhost:8000) +```docker run --name=hpc-compendium -p 8000:8000 --rm -it -w /docs -v /tmp/hpc-compendium/doc.zih.tu-dresden.de:/docs:z hpc-compendium bash -c "mkdocs build && mkdocs serve -a 0.0.0.0:8000" ``` -- GitLab