no need to create local_brokerd_dev_env.rs #39

Open
michielbdejong wants to merge 3 commits from michielbdejong/nextgraph-rs:no-need-create-local-broker into master
  1. 12
      DEV.md

@ -12,16 +12,6 @@ until this [PR](https://github.com/rustwasm/wasm-pack/pull/1271) is accepted, wi
cargo install wasm-pack --git https://github.com/rustwasm/wasm-pack.git --rev c2b663f25abe50631a236d57a8c6d7fd806413b2
```
then :
create a file called `nextgraph/src/local_broker_dev_env.rs` with the content :
```
pub const PEER_ID: &str = "FtdzuDYGewfXWdoPuXIPb0wnd0SAg1WoA2B14S7jW3MA";
```
once your ngd server will run in your dev env, replace the above string with the actual PEER ID of your ngd server.
```
cargo install cargo-watch
// optionally, if you want a Rust REPL: cargo install evcxr_repl
@ -31,6 +21,8 @@ cd nextgraph-rs
cargo build
```
once your ngd server will run in your dev env, replace the above string in `nextgraph/src/local_broker_dev_env.rs` with the actual PEER ID of your ngd server.
### Packages
The crates are organized as follow :

Loading…
Cancel
Save