diff --git a/docs/ergo-developer-guides/example-ergo-node-service-file.txt b/docs/ergo-developer-guides/example-ergo-node-service-file.md similarity index 98% rename from docs/ergo-developer-guides/example-ergo-node-service-file.txt rename to docs/ergo-developer-guides/example-ergo-node-service-file.md index 656740a7..2a7cfac6 100644 --- a/docs/ergo-developer-guides/example-ergo-node-service-file.txt +++ b/docs/ergo-developer-guides/example-ergo-node-service-file.md @@ -1,3 +1,4 @@ +```bash # The Ergo Node Service (part of systemd) # file: /etc/systemd/system/ergo-node.service @@ -25,3 +26,4 @@ RestartSec =10 [Install] WantedBy =multi-user.target +``` \ No newline at end of file diff --git a/docs/ergo-developer-guides/example_ergo_config_file.txt b/docs/ergo-developer-guides/example_ergo_config_file.md similarity index 99% rename from docs/ergo-developer-guides/example_ergo_config_file.txt rename to docs/ergo-developer-guides/example_ergo_config_file.md index 32a69799..6e9fe1d1 100644 --- a/docs/ergo-developer-guides/example_ergo_config_file.txt +++ b/docs/ergo-developer-guides/example_ergo_config_file.md @@ -1,3 +1,4 @@ +```bash ergo { node { mining = false @@ -38,3 +39,4 @@ scorex { # nodeName = "my-ergo-node" } } +``` \ No newline at end of file diff --git a/docs/ergo-developer-guides/example_ergo_config_file_light.txt b/docs/ergo-developer-guides/example_ergo_config_file_light.md similarity index 99% rename from docs/ergo-developer-guides/example_ergo_config_file_light.txt rename to docs/ergo-developer-guides/example_ergo_config_file_light.md index e1bc4eb5..1b76d7b8 100644 --- a/docs/ergo-developer-guides/example_ergo_config_file_light.txt +++ b/docs/ergo-developer-guides/example_ergo_config_file_light.md @@ -1,3 +1,4 @@ +```bash ergo { node { mining = false @@ -44,3 +45,4 @@ scorex { # nodeName = "my-ergo-node" } } +``` \ No newline at end of file diff --git a/docs/ergo-developer-guides/part2-ergo-full-node.md b/docs/ergo-developer-guides/part2-ergo-full-node.md index ccdd4eee..58744e8b 100644 --- a/docs/ergo-developer-guides/part2-ergo-full-node.md +++ b/docs/ergo-developer-guides/part2-ergo-full-node.md @@ -107,7 +107,7 @@ sudo nano ergo.conf ``` Note: sudo is super user do (admin privileges). Nano is command line to touch and edit the ergo.conf file. You will now be inside the ergo.conf file. If the file didn't exist, it was just now created. -Copy and paste the contents of the [Reference ergo.conf example file](/example_ergo_config_file.txt) into a separate text file: +Copy and paste the contents of the [Reference ergo.conf example file](./example_ergo_config_file.md) into a separate text file: ergo { node { @@ -159,7 +159,7 @@ You'll need to make the following updates: - declared address - update - nodeName - update -For light weight full node using bootstrapping and NiPoPow, see [example_ergo_config_file_light.txt](/example_ergo_config_file_light.txt) +For light weight full node using bootstrapping and NiPoPow, see [example_ergo_config_file_light](./example_ergo_config_file_light.md) Give it a go and run it! Ctrl+X to overwrite and Yes enter to save.