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

Installation #1

Closed
gdbaldw opened this issue Aug 16, 2019 · 1 comment
Closed

Installation #1

gdbaldw opened this issue Aug 16, 2019 · 1 comment

Comments

@gdbaldw
Copy link

gdbaldw commented Aug 16, 2019

New to golang, so installation instructions would be helpful. After installing golang, from the command line enter: 'go get github.com/the729/go-libra/...' The executables will be placed in $GOPATH/bin/, and when running the executable it needs a copy of the file 'trusted_peers.config.toml' to be in the parent directory, (../trusted_peers.config.toml).

@the729
Copy link
Owner

the729 commented Aug 24, 2019

Thank you for your suggestion. I added a installation section in the readme.

go-libra is a library for other developers to build their own projects with. By default, it does not produce any executables in $GOPATH/bin.

In all examples, trustedPeersFile is relative to the example directories. If you are importing go-libra in your project, you can freely choose where to put the file.

Hope this answers your question.

@the729 the729 closed this as completed Aug 24, 2019
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