Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下,是是不是配置完config.py,就可以使用啊 #65

Open
ykaikai opened this issue Jan 21, 2019 · 3 comments
Open

请问下,是是不是配置完config.py,就可以使用啊 #65

ykaikai opened this issue Jan 21, 2019 · 3 comments

Comments

@ykaikai
Copy link

ykaikai commented Jan 21, 2019

我配置完不知道如何使用,有大概指点下的吗?

@shell909090
Copy link
Owner

这个有点太长了。基本上就是README里面那一堆。您看完之后有什么问题么?

@ykaikai
Copy link
Author

ykaikai commented Jan 22, 2019

$ go get -u github.com/shell909090/influx-proxy/service
$ go install github.com/shell909090/influx-proxy/service
$ mv $GOPATH/bin/service $GOPATH/bin/influxdb-proxy,go安装完成了,并没在$GOPATH/下发现bin目录,因为go不熟悉,后面再$GOBIN下找到service ,然后我就 把 $ mv $GOPATH/bin/service $GOPATH/bin/influxdb-proxy 改为$ mv $GOBIN/service $GOBIN/influxdb-proxy,然后再配置config.py,最后运行 $GOBIN/influxdb-proxy -redis localhost:6379 ,请问这样可以吗?

@shell909090
Copy link
Owner

我不知道GOBIN哪里来的,我们常用的是GOPATH。

https://golang.org/cmd/go/#hdr-GOPATH_environment_variable

你运行起来效果怎么样?能跑的话就不用计较这么多。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants