Add to README, add Makefile with development targets
This commit is contained in:
committed by
=Michael Hohn
parent
b4d9833da3
commit
9d1a891c72
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
build:
|
||||
cd cmd/server && GOOS=linux GOARCH=arm64 go build
|
||||
|
||||
fullbuild:
|
||||
cd cmd/server && GOOS=linux GOARCH=arm64 go build -a
|
||||
|
||||
sendsubmit:
|
||||
cd tools && sh ./submit-request.curl
|
||||
|
||||
lint:
|
||||
golangci-lint run cmd/... pkg/...
|
||||
|
||||
deps:
|
||||
godepgraph -maxlevel 4 -nostdlib -i github.com/minio/minio-go ./cmd/server | dot -Tpdf > deps-server.pdf && open deps-server.pdf
|
||||
|
||||
depa:
|
||||
godepgraph -maxlevel 4 -nostdlib -i github.com/minio/minio-go ./cmd/agent | dot -Tpdf > deps-agent.pdf && open deps-agent.pdf
|
||||
11
README.md
11
README.md
@@ -53,6 +53,17 @@ These are simple steps using a single container.
|
||||
cd /mrva/mrvacommander/cmd/server/
|
||||
./server -loglevel=debug -mode=container
|
||||
|
||||
1. Test server from the host via
|
||||
|
||||
cd ~/work-gh/mrva/mrvacommander-1/tools
|
||||
sh ./request_16-Jun-2024_11-33-16.curl
|
||||
|
||||
1. Follow server logging via
|
||||
|
||||
cd ~/work-gh/mrva/mrvacommander-1
|
||||
docker-compose up -d
|
||||
docker-compose logs -f server
|
||||
|
||||
1. Test server via remote client by following the steps in [gh-mrva](https://github.com/hohn/gh-mrva/blob/connection-redirect/README.org#compacted-edit-run-debug-cycle)
|
||||
|
||||
### Some general docker-compose commands
|
||||
|
||||
Reference in New Issue
Block a user