mirror of
https://github.com/gusaul/grpcox.git
synced 2024-12-25 09:50:10 +00:00
add running method alternatives
This commit is contained in:
parent
63b3b17ac3
commit
5922295d87
13
Makefile
Normal file
13
Makefile
Normal 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
|
|
@ -14,6 +14,14 @@ from terminal, move to grpcox directory, then run command
|
||||||
```shell
|
```shell
|
||||||
docker-compose up
|
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
|
configure app preferences by editing `config.env` file
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user