-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e67556
commit ad49837
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |