Skip to content

Commit

Permalink
Update tutorial.md (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity authored Jun 19, 2024
1 parent caa6ea3 commit 9bafb99
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,27 @@ curl https://sh.rustup.rs -sSf | sh
Note: The Homebrew installation of Rust may interfere with `fdev`. It is
recommended to use `rustup`, as shown above, to avoid these issues.

### Installing Freenet and fdev
### Installing Freenet Core and FDev from Git

After setting up Cargo, install `freenet` and `fdev` with the following command.
This installs `fdev` (the Freenet development tool) and a local Freenet peer
for development purposes:
- Clone the Freenet Core repository and the stdlib submodule, and navigate to the application directory:

```bash
cargo install freenet fdev
```
*Note:* Currently these should be installed from the git repo as the code is changing rapidly, once things
are more stable they can be installed from crates.io which will simplify this step.

```bash
git clone --recurse-submodules https://github.com/freenet/freenet-core.git
cd freenet-core/apps/freenet-ping
```

### Freenet Development Tool and Kernel

- Install the Freenet development tool (`fdev`) and the Freenet kernel for local development:

This command will install `fdev` (Freenet development tool) and a working Freenet peer that can
be used for local development.
```bash
# You should be in freenet-core/apps/freenet-ping
cargo install --path ../../crates/core
cargo install --path ../../crates/fdev
```

### Add WebAssembly target

Expand Down

0 comments on commit 9bafb99

Please sign in to comment.