Procházet zdrojové kódy

README: minor clarifications in build process

skoupidi před 1 rokem
rodič
revize
8853e6cdaa
1 změnil soubory, kde provedl 14 přidání a 5 odebrání
  1. 14 5
      README.md

+ 14 - 5
README.md

@@ -60,12 +60,21 @@ P2P IRC daemon.
 
 
 ## Build
 ## Build
 
 
+First you need to clone DarkFi repo and enter its root folder, if
+you haven't already done it:
+
+```shell
+% git clone https://codeberg.org/darkrenaissance/darkfi
+% cd darkfi
+```
+
 This project requires the Rust compiler to be installed. 
 This project requires the Rust compiler to be installed. 
 Please visit [Rustup](https://rustup.rs/) for instructions.
 Please visit [Rustup](https://rustup.rs/) for instructions.
 
 
 You have to install a native toolchain, which is set up during Rust installation,
 You have to install a native toolchain, which is set up during Rust installation,
 and wasm32 target.
 and wasm32 target.
 To install wasm32 target, execute:
 To install wasm32 target, execute:
+
 ```shell
 ```shell
 % rustup target add wasm32-unknown-unknown
 % rustup target add wasm32-unknown-unknown
 ```
 ```
@@ -110,12 +119,12 @@ and install dependencies accordingly. In case it does not find your
 package manager, please consider adding support for it into the script
 package manager, please consider adding support for it into the script
 and sending a patch.
 and sending a patch.
 
 
-To build the necessary binaries, we can just clone the repo, and use 
-the provided Makefile to build the project:
+Lastly, we can build the necessary binaries using the provided
+Makefile, to build the project. If you want to build specific ones,
+like `darkfid` or `darkirc`, skip this step, as it will build
+everything, and use their specific targets instead.
 
 
 ```shell
 ```shell
-% git clone https://codeberg.org/darkrenaissance/darkfi
-% cd darkfi
 % make
 % make
 ```
 ```
 
 
@@ -125,7 +134,7 @@ If you want to hack on the source code, make sure to read some
 introductory advice in the
 introductory advice in the
 [DarkFi book](https://darkrenaissance.github.io/darkfi/dev/dev.html).
 [DarkFi book](https://darkrenaissance.github.io/darkfi/dev/dev.html).
 
 
-## Install
+## Installation (Optional)
 
 
 This will install the binaries on your system (`/usr/local` by
 This will install the binaries on your system (`/usr/local` by
 default). The configuration files for the binaries are bundled with the
 default). The configuration files for the binaries are bundled with the