Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Ekaterina Mekhnetsova <[email protected]>
  • Loading branch information
outoftardis authored and appetrosyan committed Jun 8, 2022
1 parent fa9d610 commit e3d05d8
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/guide/advanced/running-iroha-on-bare-metal.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ error-prone, particularly for exotic systems (Windows).
## Prerequisites

First of all, we should note that we have only built the Iroha client so
far in this tutorial. We also need to build the peer software to run Iroha on
bare metal.
far in this tutorial. We also need to build the peer software to run Iroha
on bare metal.

::: info

Building in `debug` mode retains much more information and optimises the binary to a far lesser extent.
As such, we advise you to build Iroha in `debug` mode for testing: it’s faster and it makes it easier for you to find issues and fix them. However, if
you intend to actually deploy Iroha, you should build it in `--release`
mode.
Building in `debug` mode retains much more information and optimises the
binary to a far lesser extent. As such, we advise you to build Iroha in
`debug` mode for testing: it’s faster and it makes it easier for you to
find issues and fix them. However, if you intend to actually deploy Iroha,
you should build it in `--release` mode.

:::

Expand All @@ -40,9 +41,9 @@ mode.
cargo build --bin iroha --release
```

The `release` mode binary takes significantly longer to compile than `debug` mode, but
the result is a smaller and faster binary, suitable for deployment
in the actual blockchains.
The `release` mode binary takes significantly longer to compile than
`debug` mode, but the result is a smaller and faster binary, suitable for
deployment in the actual blockchains.

## Setup

Expand All @@ -58,8 +59,8 @@ run all commands from that directory:
cd ~/Git/iroha/configs/peer
```

The third option is to specify the full path to the configuration file in an
environment variable. For simplicity, we shall do the latter:
The third option is to specify the full path to the configuration file in
an environment variable. For simplicity, we shall do the latter:

```bash
cd ~
Expand Down

1 comment on commit e3d05d8

@vercel
Copy link

@vercel vercel bot commented on e3d05d8 Jun 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

iroha-2-docs – ./

iroha-2-docs-0x009922.vercel.app
iroha-2-docs-git-master-0x009922.vercel.app

Please sign in to comment.