Skip to content
Snippets Groups Projects
Commit 4e980fe6 authored by Petr Špaček's avatar Petr Špaček
Browse files

Merge branch 'fix-inst-instructions' into 'master'

Fix installation instructions

See merge request !96
parents a6ad8e03 fcfa76b2
No related branches found
No related tags found
1 merge request!96Fix installation instructions
Pipeline #123520 passed
......@@ -9,7 +9,7 @@ the scripts from the repository directly.
Pre-built image can be obtained from [CZ.NIC DNS Shotgun
Registry](https://gitlab.nic.cz/knot/shotgun/container_registry/65).
```
```bash
$ docker pull registry.nic.cz/knot/shotgun:v20240219
```
......@@ -21,7 +21,7 @@ Alternately, you can build the image yourself from Dockerfile in the repository.
- Mount input/output directories and files with `-v/--volume`.
- Using `--privileged` might slightly improve performance if you don't mind the security risk.
```
```bash
$ docker run \
--network host \
-v "$PWD:/mnt" \
......@@ -36,11 +36,12 @@ ensure you have the required dependencies installed and the compile and install
the dnssim module. Also make sure to check out some tagged version, as the
development happens in master branch.
```
```bash
$ git clone https://gitlab.nic.cz/knot/shotgun.git
$ cd shotgun
$ git checkout v20240219
$ git submodule update --init --recursive
$ cd shotgun/replay/dnssim
$ cd replay/dnssim
$ mkdir build && cd build
$ cmake ..
$ cmake --build .
......@@ -74,7 +75,7 @@ You may wish to edit the documentation locally and preview those local changes.
To do that, [install MkDocs](https://www.mkdocs.org/user-guide/installation/),
then, in the sources directory, run:
```
```bash
$ mkdocs build
```
......@@ -84,6 +85,6 @@ HTML format.
For testing the locally built documentation with live-rebuild, MkDocs' built-in
development server may be used like so:
```
```bash
$ mkdocs serve
```
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