From ed29d7c61e45df573bda4543ff6294e51ab27bdd Mon Sep 17 00:00:00 2001 From: Gabe Dottl Date: Fri, 16 Apr 2021 12:00:59 -0700 Subject: [PATCH] Update README.md If you run "cargo build-bpf" from the root directory, you get an error such as the following: Failed to obtain package metadata: Error during execution of `cargo metadata`: error: could not find `Cargo.toml` in `/home/gabe/code/dapp-scalfold` or any parent directory Seems these commands need to be run from the program subdirectory. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 02d1b39..a266d50 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ yarn start 4. Install NPM, Yarn # Build Smart Contract (compiled for BPF) +Run the following from the program/ subdirectory: ```bash $ cargo build-bpf