Web3 sample app in Go
- gvm Go 1.19
gvm install go1.19 --prefer-binary --with-build-tools --with-protobuf gvm use go1.19 --default
- curl
- wget
- jq
- yq
- kubectl
- kind >=0.16.0
make kind-deploy
kubectl port-forward -n web3 svc/web3-sample-app 8080:8080
make kind-undeploy
kubectl apply -f ./k8s/ns.yaml
kubectl apply -f ./k8s --namespace=web3 --validate=false
kubectl delete -f ./k8s --namespace=web3
Run build
target
make build
Run release
target
make release
$ make
Usage: make COMMAND
Commands :
help - List available tasks
clean - Cleanup
test - Run tests
build - Build binary
run - Run binary
get - Download and install dependency packages
release - Create and push a new tag
update - Update dependencies to latest versions
version - Print current version(tag)
image-build - Build a Docker image
image-run - Run a Docker image
image-stop - Stop a Docker image
kind-deploy - Deploy to a local KinD cluster
kind-undeploy - Undeploy from a local KinD cluster
kind-redeploy - Redeploy to a local KinD cluster