1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-09-29 04:10:39 +00:00

add running method alternatives

This commit is contained in:
gusaul 2019-09-13 14:46:36 +07:00
parent 63b3b17ac3
commit 5922295d87
2 changed files with 21 additions and 0 deletions

13
Makefile Normal file
View File

@ -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

View File

@ -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
<br/>`host.docker.internal:<your gRPC port>` 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