From e4b96ad37c14d1ee8163dffe45f07f52a2244715 Mon Sep 17 00:00:00 2001 From: michielbdejong Date: Sat, 1 Feb 2025 12:34:14 +0000 Subject: [PATCH 1/3] [docs] no need to create src/branch/master/nextgraph/src/local_broker_dev_env.rs It [exists](https://git.nextgraph.org/NextGraph/nextgraph-rs/src/branch/master/nextgraph/src/local_broker_dev_env.rs) --- DEV.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DEV.md b/DEV.md index 3758cd6..da2a9be 100644 --- a/DEV.md +++ b/DEV.md @@ -12,14 +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. ``` -- 2.25.1 From f2e32578149dc7f0a29ae148904f114218186e52 Mon Sep 17 00:00:00 2001 From: michielbdejong Date: Sat, 1 Feb 2025 12:37:09 +0000 Subject: [PATCH 2/3] move sentence about editing src/local_broker_dev_env.rs --- DEV.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEV.md b/DEV.md index da2a9be..11c4409 100644 --- a/DEV.md +++ b/DEV.md @@ -12,8 +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 ``` -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 @@ -23,6 +21,8 @@ cd nextgraph-rs cargo build ``` +once your ngd server will run in your dev env, replace the above string in `src/local_broker_dev_env.rs` with the actual PEER ID of your ngd server. + ### Packages The crates are organized as follow : -- 2.25.1 From b274ac7334e6dd12e25961477c38a479e0028def Mon Sep 17 00:00:00 2001 From: michielbdejong Date: Sat, 1 Feb 2025 12:40:55 +0000 Subject: [PATCH 3/3] fix filename --- DEV.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEV.md b/DEV.md index 11c4409..f07c9c1 100644 --- a/DEV.md +++ b/DEV.md @@ -21,7 +21,7 @@ cd nextgraph-rs cargo build ``` -once your ngd server will run in your dev env, replace the above string in `src/local_broker_dev_env.rs` with the actual PEER ID of your ngd server. +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 -- 2.25.1