From 8ead654e8b94354997d8ddd0e9488983a47e32bd Mon Sep 17 00:00:00 2001 From: PointlessBox <44443023+PointlessBox@users.noreply.github.com> Date: Sat, 25 Dec 2021 16:46:03 +0100 Subject: [PATCH] Updated 'Build the dapp' in explore-templates.adoc Added a short description how to generate the 'src/declarations' folder by calling 'dfc generate', because it doesn't get generated by calling 'dfx build' --- .../pages/tutorials/explore-templates.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/developers-guide/pages/tutorials/explore-templates.adoc b/modules/developers-guide/pages/tutorials/explore-templates.adoc index 3e9337b7c..f22bc61d1 100644 --- a/modules/developers-guide/pages/tutorials/explore-templates.adoc +++ b/modules/developers-guide/pages/tutorials/explore-templates.adoc @@ -311,6 +311,13 @@ In addition to the files in the `+canisters/explore_hello+` and the `+canisters/ . Verify that a new folder has been created, `src/declarations`. + This folder will include copies of the folders from `.dfx/local`, except for the wasm. They do not contain any secrets, and we recommend committing these files along with the rest of your source code. ++ +If the `src/declarations` folder was not created, use the the following command: ++ +[source,bash] +---- +dfx generate +---- == Deploy the project locally