diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..69e7faf --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +usage: FORCE + exit 1 + +FORCE: + +include config.env +export $(shell sed 's/=.*//' config.env) + +start: FORCE + @echo " >> building..." + @mkdir -p log + @go build + @./grpcox \ No newline at end of file diff --git a/README.md b/README.md index d874a65..5669e38 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ from terminal, move to grpcox directory, then run command ```shell docker-compose up ``` +if you're using docker and want to connect gRPC on your local machine, then use +
`host.docker.internal:` instead of `localhost` + +### Golang +if you have golang installed on your local machine, just run command +```shell +make start +``` configure app preferences by editing `config.env` file