harlow / go-micro-services

HTTP up front, Protobufs in the rear
MIT License
1.09k stars 165 forks source link

Microservices fail to start without Stackdriver variables in .env file. #19

Closed codyfyi closed 7 years ago

codyfyi commented 7 years ago

I tried getting this project running from the README. Ran into two problems:

1: Had to go get go-bindata

go get -u github.com/jteeuwen/go-bindata/...

2: I then got the following error on make run: Couldn't find env file

3: I added a blank .env file. I don't want to play with Tracing using Google Stackdriver at this time.

❯ make run ...

docker-compose up
Creating gomicroservices_www_1
Creating gomicroservices_geo_1
Creating gomicroservices_profile_1
Creating gomicroservices_rate_1
Creating gomicroservices_api_1
Attaching to gomicroservices_profile_1, gomicroservices_www_1, gomicroservices_geo_1, gomicroservices_rate_1, gomicroservices_api_1
profile_1  | 2017/03/15 22:05:34 google config from json error: unexpected end of JSON input
www_1      | + exec app
geo_1      | 2017/03/15 22:05:34 google config from json error: unexpected end of JSON input
rate_1     | 2017/03/15 22:05:34 google config from json error: unexpected end of JSON input
gomicroservices_profile_1 exited with code 1
gomicroservices_geo_1 exited with code 1
api_1      | 2017/03/15 22:05:36 google config from json error: unexpected end of JSON input
gomicroservices_rate_1 exited with code 1
gomicroservices_api_1 exited with code 1

So it appears that this project won't run without setting up Google Stackdriver?