added instructions to setup gow and modules
This commit is contained in:
parent
446071eee7
commit
26af7e553e
@ -1,12 +1,22 @@
|
||||
### goulette
|
||||
|
||||
## configuration
|
||||
|
||||
make sure go is in your path, system and local.
|
||||
put into .bashrc:
|
||||
```
|
||||
export PATH=$PATH:/usr/local/go/bin:~/go
|
||||
```
|
||||
|
||||
## install
|
||||
# tools
|
||||
install github.com/mitranim/gow@latest
|
||||
|
||||
# modules
|
||||
|
||||
go get github.com/redis/go-redis/v9
|
||||
go mod downlaod
|
||||
|
||||
|
||||
# build
|
||||
# run with gow - watches the program
|
||||
|
||||
got run main.go
|
||||
gow run api.go
|
||||
|
||||
Loading…
Reference in New Issue
Block a user