From 6ad98aaad0370b2393aac853c8c922c8c93ba978 Mon Sep 17 00:00:00 2001 From: k4rli Date: Sun, 1 Feb 2026 21:05:29 +0200 Subject: [PATCH] template gen --- server/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server/README.md b/server/README.md index 3a4bf15..982f999 100644 --- a/server/README.md +++ b/server/README.md @@ -45,7 +45,16 @@ A scalable backend boilerplate built with **Go**, **Gin**, **GORM**, **PostgreSQ go run scripts/migrate.go ``` -4. Start the server: +4. Generate templates + + ```bash + go run scripts/migrate.go + go get -tool github.com/a-h/templ/cmd/templ@latest + go -tool templ generate + go tool templ generate + ``` + +5. Start the server: ```bash go run main.go