add windows instructions
This commit is contained in:
parent
bf9cf2bf96
commit
7d04d8861f
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ func Installation(ctx *h.RequestContext) *h.Page {
|
|||
HelpText("If you have not read the htmx docs, please do so before continuing, many of the concepts htmgo uses will become clearer."),
|
||||
StepTitle("1. Install htmgo"),
|
||||
ui.SingleLineBashCodeSnippet(`GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest`),
|
||||
Text("If you are using Windows, you will need to use the following command instead:"),
|
||||
ui.SingleLineBashCodeSnippet(`set GOPROXY=direct && go install github.com/maddalax/htmgo/cli/htmgo@latest`),
|
||||
HelpText("Make sure GOPROXY=direct is set, otherwise you may have issues."),
|
||||
StepTitle("2. Create new project"),
|
||||
ui.SingleLineBashCodeSnippet(`htmgo template`),
|
||||
HelpText("this will ask you for a new app name, and it will clone our starter template to a new directory it creates with your app name."),
|
||||
|
|
|
|||
Loading…
Reference in a new issue