mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-07 22:04:03 -05:00
README: minor clarifications in build process
This commit is contained in:
19
README.md
19
README.md
@@ -60,12 +60,21 @@ P2P IRC daemon.
|
||||
|
||||
## 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.
|
||||
Please visit [Rustup](https://rustup.rs/) for instructions.
|
||||
|
||||
You have to install a native toolchain, which is set up during Rust installation,
|
||||
and wasm32 target.
|
||||
To install wasm32 target, execute:
|
||||
|
||||
```shell
|
||||
% 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
|
||||
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
|
||||
% git clone https://codeberg.org/darkrenaissance/darkfi
|
||||
% cd darkfi
|
||||
% make
|
||||
```
|
||||
|
||||
@@ -125,7 +134,7 @@ If you want to hack on the source code, make sure to read some
|
||||
introductory advice in the
|
||||
[DarkFi book](https://darkrenaissance.github.io/darkfi/dev/dev.html).
|
||||
|
||||
## Install
|
||||
## Installation (Optional)
|
||||
|
||||
This will install the binaries on your system (`/usr/local` by
|
||||
default). The configuration files for the binaries are bundled with the
|
||||
|
||||
Reference in New Issue
Block a user