template gen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user