Preview command for serving preview of order confirmation template

This commit is contained in:
2022-12-02 19:01:07 +01:00
parent c6157ef5b7
commit 14f7f55b4f
5 changed files with 71 additions and 2 deletions

View File

@@ -20,6 +20,11 @@ server:
export GO111MODULE="on"; \
go run -race cmd/server/main.go
## preview: runs preview of mail template
preview:
export GO111MODULE="on"; \
go run cmd/preview/main.go
## modd: Monitors the directory, and recompiles your app every time a file changes. Also runs tests.
## (To install modd, run: go get github.com/cortesi/modd/cmd/modd)
modd: