From 36d1685d07f08d62bc61fc01b50aa310e2fd8fa8 Mon Sep 17 00:00:00 2001 From: noe Date: Thu, 27 Mar 2025 11:43:06 -0700 Subject: [PATCH] devex2 --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be2dabe..d3dd079 100644 --- a/README.md +++ b/README.md @@ -25,16 +25,24 @@ just # or .. maybe this.. but it may be unpredictable go run . +## - Step three.1, run tests +just test + ## - Step four, clean up the code just precommit ``` +Open the following: + +- https://localhost:8169 without live-reload +- https://localhost:8170 with live-reload (useful for templates!) + > _the caveat: using `go` alone is doable. certain things won't happen, like dependency tagging and env var loading, so.. consider `nix`.._ ### just commands - **watch** - (default) runs air livereloader - - open https://localhost:8170 for live reloading, note: the console will output 8169. that works too, but doesn't reload browser on changes + - open http://localhost:8170 for live reloading, note: the console will output 8169. that works too, but doesn't reload browser on changes - **run** - runs the app with go run - **nix-run** - runs the app built via nix (slower) - **run-container** - builds the app as a docker image, then runs it. (slowest)