Skip to content

Commit fb2826b

Browse files
committed
Fix: linting errors in main readme
1 parent 2a5e853 commit fb2826b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installation
44

5-
#### Prerequisites:
5+
### Prerequisites
66

77
Ensure you have the following installed first:
88

@@ -15,51 +15,51 @@ You will also need rust and nightly installed.
1515

1616
To install Rust:
1717

18-
```
18+
```sh
1919
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2020
```
2121

2222
To install nightly:
2323

24-
```
24+
```sh
2525
rustup install nightly-2022-05-11
2626
```
2727

2828
### Node
2929

3030
Navigate to substrate node:
3131

32-
```
32+
```sh
3333
cd substrate-node
3434
```
3535

3636
Add Wasm toolchain:
3737

38-
```
38+
```sh
3939
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11
4040
```
4141

4242
Now you can build:
4343

44-
```
44+
```sh
4545
cargo +nightly-2022-05-11 build --release
4646
```
4747

4848
You can also override the default toolchain
4949

50-
```
50+
```sh
5151
rustup override set nightly-2022-05-11
5252
```
5353

5454
Now you can build as following:
5555

56-
```
56+
```sh
5757
cargo build
5858
```
5959

6060
This will build the node binary in release mode, once built you can execute it by doing following:
6161

62-
```
62+
```sh
6363
./target/release/tfchain --ws-external --dev
6464
```
6565

@@ -89,10 +89,10 @@ See [process](./substrate-node/upgrade_process.md)
8989

9090
You can use the client to interact with the chain, [read more](./cli-tool/readme.md)
9191

92-
### Data Cleanup:
92+
### Data Cleanup
9393

9494
To wipe data run:
9595

96-
```
96+
```sh
9797
./target/release/tfchain purge-chain --dev
9898
```

0 commit comments

Comments
 (0)