Terry-Mao / goim

goim
https://goim.io/
MIT License
7.21k stars 1.78k forks source link

MAC安装部署 #246

Closed 1bazinga25 closed 5 years ago

1bazinga25 commented 5 years ago

说明是基于LINUX的,有没有基于MAC OS 的指导呢

tonybase commented 5 years ago

kafka&zookeeper:

brew install zookeeper
brew install kafka

brew services start zookeeper
brew services start kafka

discovery:

https://github.com/Bilibili/discovery

goim:

cd $GOPATH/src 
mkdir -p github.com/Terry-Mao/
cd github.com/Terry-Mao/
git clone https://github.com/Terry-Mao/goim.git
cd goim

brew install make
make build
make run
make stop

mac开发环境应该比较简单,可以直接brew安装下,然后编译discovery和goim。

1bazinga25 commented 5 years ago

非常感谢你的技术支持.

在 2018年12月24日,下午11:24,Tony notifications@github.com 写道:

kafka&zookeeper:

brew install zookeeper brew install kafka

brew services start zookeeper brew services start kafka discovery:

https://github.com/Bilibili/discovery goim:

cd $GOPATH/src mkdir -p github.com/Terry-Mao/ cd github.com/Terry-Mao/ git clone https://github.com/Terry-Mao/goim.git cd goim

brew install make make build make run make stop mac开发环境应该比较简单,可以直接brew安装下,然后编译discovery和goim。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Terry-Mao/goim/issues/246#issuecomment-449746161, or mute the thread https://github.com/notifications/unsubscribe-auth/AlVT8SEHyhkUaZsXgclyk28inmcA38dHks5u8PGQgaJpZM4ZgNA7.

1bazinga25 commented 5 years ago

还有想问,有关于2.0的部署接入文档在哪里能找到呢,对于小白想要接入上手并着手logic的实现好像有点困难.

在 2018年12月24日,下午11:24,Tony notifications@github.com 写道:

kafka&zookeeper:

brew install zookeeper brew install kafka

brew services start zookeeper brew services start kafka discovery:

https://github.com/Bilibili/discovery goim:

cd $GOPATH/src mkdir -p github.com/Terry-Mao/ cd github.com/Terry-Mao/ git clone https://github.com/Terry-Mao/goim.git cd goim

brew install make make build make run make stop mac开发环境应该比较简单,可以直接brew安装下,然后编译discovery和goim。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Terry-Mao/goim/issues/246#issuecomment-449746161, or mute the thread https://github.com/notifications/unsubscribe-auth/AlVT8SEHyhkUaZsXgclyk28inmcA38dHks5u8PGQgaJpZM4ZgNA7.

tonybase commented 5 years ago

可以在goim.io看看相关文档

dempsey-ycr commented 5 years ago

请问你有遇到这个问题吗,discovery一直报404: discovery: client.Get(http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&appid=goim.logic&env=&hostname=bogon&latest_timestamp=0&latest_timestamp=0) get error code(-404)

tonybase commented 5 years ago

@dempsey-ycr makefile flag错误了,已经修复了

1bazinga25 commented 5 years ago

@dempsey-ycr makefile flag错误了,已经修复了

我也遇到了相同的问题,所有代码都是今天最新拉取的. E0121 15:27:57.879723 11426 client.go:582] discovery: client.Get(http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&env=dev&hostname=SniperdeMacBook-Pro.local&latest_timestamp=1548055310053396000) error(Get http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&env=dev&hostname=SniperdeMacBook-Pro.local&latest_timestamp=1548055310053396000: context canceled)

E0121 15:27:57.886782 11426 client.go:587] discovery: client.Get(http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&appid=goim.logic&env=dev&hostname=SniperdeMacBook-Pro.local&latest_timestamp=1548055310053396000&latest_timestamp=0) get error code(-404)

@tonyboxes @Terry-Mao 能给一些帮助吗

1bazinga25 commented 5 years ago

额 没活跃的人在吗