Skip to content
Snippets Groups Projects
Commit 0dfbcd0e authored by Ulf Markwardt's avatar Ulf Markwardt
Browse files

Update contribute_container.md

parent 800552a7
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!300Contrib container
...@@ -48,17 +48,15 @@ To make use of `mkdocs`, it is necessary to have two commands in mind ...@@ -48,17 +48,15 @@ To make use of `mkdocs`, it is necessary to have two commands in mind
``` ```
#### Preview Using mkdocs With Dockerfile #### Preview Using mkdocs With Dockerfile
``` ```
cd /tmp cd /tmp
git clone git@gitlab.hrz.tu-chemnitz.de:hpcsupport/hpc-compendium.git git clone git@gitlab.hrz.tu-chemnitz.de:hpcsupport/hpc-compendium.git
cd hpc-compendium cd hpc-compendium
docker build -t hpc-compendium . # this takes a bit longer docker build -t hpc-compendium . # this takes a bit longer
```
# local web server 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" ```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"
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment