Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix indentations on the getting started guide #1082

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions docs/source/getting_started_guide/creating_a_basic_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ Receptor configurations

1. Create three configuration files, one for each node.

``foo.yml``
``foo.yml``

.. code-block:: yaml

---
- node:
id: foo
id: foo

- control-service:
service: control
filename: /tmp/foo.sock
service: control
filename: /tmp/foo.sock

- tcp-peer:
address: localhost:2222
redial: true
address: localhost:2222
redial: true

- log-level: debug

Expand All @@ -46,14 +46,14 @@ Receptor configurations

---
- node:
id: bar
id: bar

- control-service:
service: control
filename: /tmp/bar.sock
service: control
filename: /tmp/bar.sock

- tcp-listener:
port: 2222
port: 2222

- log-level: debug

Expand All @@ -65,27 +65,27 @@ Receptor configurations

---
- node:
id: mal
id: mal

- control-service:
service: control
filename: /tmp/mal.sock
service: control
filename: /tmp/mal.sock

- tcp-peer:
address: localhost:2222
redial: true
address: localhost:2222
redial: true

- log-level: debug

- work-command:
workType: echo
command: bash
params: "-c \"while read -r line; do echo $line; sleep 1; done\""
allowruntimeparams: true
workType: echo
command: bash
params: "-c \"while read -r line; do echo $line; sleep 1; done\""
allowruntimeparams: true

...

1. Run the services in separate terminals.
2. Run the services in separate terminals.

.. code-block:: bash

Expand Down
Loading