From a6a57b5befa3382091fce874339e277aec7bfc33 Mon Sep 17 00:00:00 2001 From: Collins Muriuki Date: Thu, 16 May 2024 15:08:39 +0300 Subject: [PATCH] chore: update manual testing docs (#285) * chore: update manual testing docs * update override --- guides/manual-testing.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/guides/manual-testing.md b/guides/manual-testing.md index 5fb096de5..7964789bb 100644 --- a/guides/manual-testing.md +++ b/guides/manual-testing.md @@ -6,7 +6,7 @@ With the Scaffolding repository checked out, switch to the Git revision you want Start the Nix development environment for the Scaffolding tool using: -``` +```shell nix develop --override-input "versions/scaffolding" "path://$PWD" ``` @@ -17,10 +17,21 @@ For example, `cd /tmp`. You're now ready to scaffold a new app with `hc-scaffold When following the instructions that the Scaffolding outputs, ignore `nix develop` and instead run: -``` +```shell nix develop --override-input "versions/scaffolding" ``` Which will ensure that you keep using the updated Scaffolding tool inside the scaffolded hApp environment. Now you can proceed with testing your changes as needed. + +#### Testing against a different holochain version + +If you would like to test your hApp against a different version of holochain you can override the holochain input like so, +we again ignore running `nix develop` as instructed by Scaffolding outputs. + +```shell +nix develop --override-input "versions/holochain" "github:holochain/holochain/holochain-" +``` + +Replace the `tag` with the holochain version you would like to test against i.e `0.3.0-beta-dev.48` \ No newline at end of file