echo-boilerplate-templ-htmx
A Go boilerplate app using echo, templ and HTMX.
Requirements
Before getting started, install the following:
Required:
Optional:
Using
Setup the dev environment first:
make dev
Building & Running locally
make run
Navigate to http://localhost:1323/hello
in your browser.
Docker
Build
make docker-build
Run
make docker-run
Passing args
CLI:
docker run -p 1323:1323 --rm app --env-name prod
Environment variables:
docker run -p 1323:1323 -e "APP_ENV_NAME=prod" --rm app