Skip to content

Commit a30468d

Browse files
authored
Update build.rst
updated the build instructions
1 parent 2b77e13 commit a30468d

File tree

1 file changed

+33
-17
lines changed

1 file changed

+33
-17
lines changed

docs/source/build.rst

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Build
22
*****
33

4-
IDE
4+
IDE (optional)
55
^^^
66

77
* JetBrains Rider https://www.jetbrains.com/rider/
@@ -10,21 +10,17 @@ IDE
1010
SDKs
1111
^^^^
1212

13-
* Windows https://www.microsoft.com/net/download?initial-os=windows
14-
* Linux https://www.microsoft.com/net/download?initial-os=linux (make sure to select the right distribution)
15-
* Mac https://www.microsoft.com/net/download?initial-os=macos
13+
You will need .NET SDK 2.2
14+
* Windows https://www.microsoft.com/net/download?initial-os=windows
15+
* Linux https://www.microsoft.com/net/download?initial-os=linux (make sure to select the right distribution)
16+
* Mac https://www.microsoft.com/net/download?initial-os=macos
1617

1718
Linux
1819
^^^^^
1920

2021
::
2122

2223
sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6
23-
git clone https://github.com/nethermindeth/nethermind --recursive
24-
cd nethermind/src/Nethermind
25-
dotnet build Nethermind.sln -c Release
26-
cd Nethermind.Runner
27-
dotnet run
2824

2925
MacOS
3026
^^^^^
@@ -33,21 +29,41 @@ MacOS
3329

3430
brew install gmp
3531
brew install snappy
36-
git clone https://github.com/nethermindeth/nethermind --recursive
37-
cd nethermind/src/Nethermind
38-
dotnet build Nethermind.sln -c Release
39-
cd Nethermind.Runner
40-
dotnet run
4132
4233
Windows
4334
^^^^^^^
4435

4536
you may need to install https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
4637

38+
All Platforms
39+
^^^^^^^^^^^^^
40+
4741
::
4842

49-
git clone https://github.com/nethermindeth/nethermind --recursive
50-
cd nethermind/src/Nethermind
43+
git clone https://github.com/tkstanczak/nethermind nethworkshop --recursive -b workshop
44+
cd nethworkshop/src/Nethermind
5145
dotnet build Nethermind.sln -c Release
46+
47+
launch goerli testnet for quick sync and testing
48+
49+
::
50+
5251
cd Nethermind.Runner
53-
dotnet run
52+
dotnet run --no-build -c Release -- --config goerli
53+
54+
You can confirm the latest block of the Goerli tetsnet here:
55+
https://blockscout.com/eth/goerli/
56+
57+
or (mainnet)
58+
59+
::
60+
61+
cd Nethermind.EvmPlayground
62+
dotnet run --no-build -c Release -- --config mainnet
63+
64+
Potential Issues
65+
^^^^^^^^^^^^^^^^
66+
67+
If you have some previous pre-release versions of .NET Core installed they may cause conflicts. Your case might be quite unique so best to search for help online.
68+
69+
If application crashes saying that rocksdb-sharp / rocksdb is failing then most likely your processor is not supporting AVX instructions. This would require you to build RocksDb on your machine. We will add a tutorial for this later - for now reach out to us on gitter if you need to run it on a non-AVX CPU.

0 commit comments

Comments
 (0)