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

Basic usage information #44

Closed
jamesbates opened this issue May 24, 2016 · 5 comments
Closed

Basic usage information #44

jamesbates opened this issue May 24, 2016 · 5 comments

Comments

@jamesbates
Copy link

Hello, I just cloned the repo. But it is impossible to run anything at all from the files in the repo:

silk -silk.url="{endpoint}" {testfiles...}

as suggested in the README produces "command not found"

Executing build.sh results in "main.go:8:2: cannot find package "github.com/matryer/silk/runner""

What is the correct procedure for running the application? Could you adjust the documentation accordingly?

@matryer
Copy link
Owner

matryer commented May 24, 2016

Provided you cloned the repo to your GOPATH, it should work fine.

What does echo $GOPATH print?

And is $GOPATH/src/github.com/matryer/silk where you cloned the repo?

Mat

On 24 May 2016, at 15:13, jamesbates notifications@github.com wrote:

Hello, I just cloned the repo. But it is impossible to run anything at all from the files in the repo:

silk -silk.url="{endpoint}" {testfiles...}

as suggested in the README produces "command not found"

Executing build.sh results in "main.go:8:2: cannot find package "github.com/matryer/silk/runner""

What is the correct procedure for running the application? Could you adjust the documentation accordingly?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #44

@jamesbates
Copy link
Author

I have no idea what a "GOPATH" is, nor does your documentation ever mention it. Also, it does not mention that a checkout at a very specific location is required for things to work. Lastly, it doesn't mention, that apparently you ALSO need to check out https://github.com/matryer/m, and must necessarily check it out to $GOPATH/src/github.com/matryer/m for anything to work.

So yeah, by doing all that, I can get it to build and run. Thanks for that.

Perhaps these requirements would be worth mentioning in the README? Not everyone who wishes to use this product would necessarily be a GO-developer, I suspect ;) (I am indeed such a person)

Other than that, nice tool! Does what it's supposed to...

@matryer
Copy link
Owner

matryer commented May 25, 2016

Sorry - you should have just downloaded a binary from the Releases tab perhaps?

@matryer
Copy link
Owner

matryer commented May 26, 2016

@jamesbates I made this just for you - latest release: https://github.com/matryer/silk/releases/tag/0.5.1

Much easier than building your own.

Apologies for the confusion.

@matryer matryer closed this as completed May 26, 2016
@jamesbates
Copy link
Author

Brilliant, thanks! :)

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