commit 542b9d30f0b151a85bad061f5c58c89b7d8827b0
parent 19295b3d44798389d39f5fde4c479726587e84de
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 17 Dec 2024 17:31:33 +0100
fix some old paths in tutorial
Diffstat:
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/developers/tutorial.rst b/developers/tutorial.rst
@@ -132,19 +132,16 @@ specified KEY:
$ gnunet-arm -c ~/peer1.conf -s
# start DHT service:
$ gnunet-arm -c ~/peer1.conf -i dht
- $ cd ~/gnunet/src/dht;
- $ ./gnunet-dht-monitor -c ~/peer1.conf -k KEY
+ $ gnunet-dht-monitor -c ~/peer1.conf -k KEY
-Now open a separate terminal and change again to the ``gnunet/src/dht``
-directory:
+Now open a separate terminal and:
.. code-block:: text
- $ cd ~/gnunet/src/dht
# put VALUE under KEY in the DHT:
- $ ./gnunet-dht-put -c ~/peer1.conf -k KEY -d VALUE
+ $ gnunet-dht-put -c ~/peer1.conf -k KEY -d VALUE
# get key KEY from the DHT:
- $ ./gnunet/src/dht/gnunet-dht-get -c ~/peer1.conf -k KEY
+ $ gnunet-dht-get -c ~/peer1.conf -k KEY
# print statistics about current GNUnet state:
$ gnunet-statistics -c ~/peer1.conf
# print statistics about DHT service:
@@ -169,7 +166,7 @@ Setup a second peer
We will now start a second peer on your machine. For the second peer,
you will need to manually create a modified configuration file to avoid
conflicts with ports and directories. A peers configuration file is by
-default located in ``~/.gnunet/gnunet.conf``. This file is typically
+default located in ``~/.config/gnunet.conf``. This file is typically
very short or even empty as only the differences to the defaults need to
be specified. The defaults are located in many files in the
``$PREFIX/share/gnunet/config.d`` directory.