Skip to content

Commit

Permalink
Start a manual testing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Nov 22, 2023
1 parent 6e67556 commit ad49837
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions guides/manual-testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
### Manually testing the Scaffolding tool

#### Ensuring you're using the right Scaffolding version

With the Scaffolding repository checked out, switch to the Git revision you want to test.

Start the Nix development environment for the Scaffolding tool using:

```
nix develop --override-input "versions/scaffolding" .
```

This will give you a shell which includes the Scaffolding built from your local repository.

Stay in the current Nix shell and change directory to somewhere that you want to put your test project.
For example, `cd /tmp`. You're now ready to scaffold a new app with `hc-scaffold web-app`.

When following the instructions that the Scaffolding outputs, ignore `nix develop` and instead run:

```
nix develop --override-input "versions/scaffolding" <path-to-local-scaffolding-clone>
```

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.

0 comments on commit ad49837

Please sign in to comment.