devex2
This commit is contained in:
parent
143caaac2b
commit
36d1685d07
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
@ -25,16 +25,24 @@ just
|
||||||
# or .. maybe this.. but it may be unpredictable
|
# or .. maybe this.. but it may be unpredictable
|
||||||
go run .
|
go run .
|
||||||
|
|
||||||
|
## - Step three.1, run tests
|
||||||
|
just test
|
||||||
|
|
||||||
## - Step four, clean up the code
|
## - Step four, clean up the code
|
||||||
just precommit
|
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`.._
|
> _the caveat: using `go` alone is doable. certain things won't happen, like dependency tagging and env var loading, so.. consider `nix`.._
|
||||||
|
|
||||||
### just commands
|
### just commands
|
||||||
|
|
||||||
- **watch** - (default) runs air livereloader
|
- **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
|
- **run** - runs the app with go run
|
||||||
- **nix-run** - runs the app built via nix (slower)
|
- **nix-run** - runs the app built via nix (slower)
|
||||||
- **run-container** - builds the app as a docker image, then runs it. (slowest)
|
- **run-container** - builds the app as a docker image, then runs it. (slowest)
|
||||||
|
|
Loading…
Add table
Reference in a new issue