Skip to content

Commit

Permalink
Chore/add make for installing tools update readme (#22)
Browse files Browse the repository at this point in the history
Ref: #19

---------

Co-authored-by: GitButler <[email protected]>
Co-authored-by: Frankie Murillo <[email protected]>
  • Loading branch information
3 people authored Feb 16, 2024
1 parent 43cf899 commit 0188d1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
**/__debug*
**/*_templ.go
tmp/
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ clean:
$(GOCMD) clean
rm -rf $(BUILD_DIR)

install-tools:
go install github.com/a-h/templ/cmd/[email protected]

.PHONY: all build test clean
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ go get -u github.com/username/urchin

## Example - Running the App

First, ensure you have the neccesary libraries to run the application
```bash
make install-tools
```

After you've replaced the default template files with your prefered
template, simply build and start the app with the following commands.

Expand Down

0 comments on commit 0188d1c

Please sign in to comment.