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

Improve Getting Started Documentation #408

Closed
mathewbyrne opened this issue Nov 2, 2018 · 3 comments
Closed

Improve Getting Started Documentation #408

mathewbyrne opened this issue Nov 2, 2018 · 3 comments

Comments

@mathewbyrne
Copy link
Contributor

mathewbyrne commented Nov 2, 2018

There are a lot of users getting stuck during the getting started documentation or shortly thereafter. Some of the issues include:

  1. User installs both gqlgen globally (and probably gets master), then installs gqlgen from dep. So generated code is no sometimes not compatible depending on the state of master.

  2. Users trying to execute gqlgen outside of their GOPATH. We should at least make this clear that it's not currently possible and why.

  3. User cannot find gqlgen binary — some people are struggling binding the binary, either they don't have it in their PATH, or have another configuration error.

We should address these issues and ensure that the described path does not easily run into any of them.

@hiucimon
Copy link

Can someone PLEASE tell me how to be "in the GO PATH"? I have tired everything I can think of and get the same message, and have searched until I am blue in the face and can not see a clear answer anywhere. I have tried setting GOPATH to various places, and tried CD'ing to where it seems to be and it never changes the results. gqlgen gets installing into ~/go/bin/ on the Ubuntu instance I have tried it on (also tried the same things on Mac).

@hiucimon
Copy link

OK, I figured it out. For anyone who needs to know, you have to be in the source directory of this code when you execute it.

@loweisz
Copy link

loweisz commented Nov 19, 2018

@hiucimon what do u mean with this code? I cant get it running

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

No branches or pull requests

3 participants