Skip to content
Aleksei Mironov edited this page Feb 2, 2017 · 3 revisions

Don't forget to install project dependencies with go get ./...

Compile golang templates to binary and run the application with the compiled templates.

Compile the templates:

go run main.go --compile-qor-templates

Run with compiled templates:

go run -tags 'bindatafs' main.go

If need be, to run normally again simply:

go run main.go

If you still have doubts or questions please refere to the documentation on BindataFS: https://doc.getqor.com/plugins/bindata.html