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 docs #6

Merged
merged 3 commits into from
Aug 11, 2020
Merged

improve docs #6

merged 3 commits into from
Aug 11, 2020

Conversation

bitnik
Copy link
Contributor

@bitnik bitnik commented Aug 10, 2020

this PR improves docs based on #5 (comment)

@sgibson91 I would be happy if you could review :)

Document the gotcha about dummy IPs. Folks like me coming from cloud-based BHub deployments would probably expect the chart to "just work" and we update it with the IP addresses when they're created. Explicitly saying that this chart won't work that way will save some confusion.

For this I made a PR in binderhub repo: jupyterhub/binderhub#1139

Document how and why the hub/binder URLs are different from the standard BHub. Again coming from the standard chart, I would never have assumed that these values needed to be different. Also a little bit of explanation as to why it's set up that way might be nice for the curious, and also admins who may need to debug at some point.

Hopefully this is better documented now.

The URLs provided to the OAuth Provider are different than those described in the z2jh auth docs. With the explanation about the URLs from the previous point, this need be nothing more than "Here's the z2jh auth guide. Remember, the URLs you will be providing are the following..."

I guess here you confused the config for jupyterhub.hub.services.binderhub with jupyterhub.auth?

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@bitnik
Copy link
Contributor Author

bitnik commented Aug 11, 2020

@manics thanks a lot!

@sgibson91
Copy link

I guess here you confused the config for jupyterhub.hub.services.binderhub with jupyterhub.auth?

No when I was configuring the GitHub OAuth App, I set the Homepage URL (pic below) to be http://<JupyterHub_IP>/services/binder which is a deviation from what the z2jh docs on for auth. Unless I set it up incorrectly?

Screenshot 2020-08-11 at 09 29 16

The rest looks great :)

@bitnik
Copy link
Contributor Author

bitnik commented Aug 11, 2020

Thanks a lot!

No when I was configuring the GitHub OAuth App, I set the Homepage URL (pic below) to be http://<JupyterHub_IP>/services/binder which is a deviation from what the z2jh docs on for auth. Unless I set it up incorrectly?

I think "Homepage URL" should be "http://<JupyterHub_IP>", since JupyterHub home is the main page for the persistent BinderHub.

@sgibson91
Copy link

Oh, I actually had it as JupyterHub_IP/hub/home which is probably what JupyterHub_IP resolves to, right? Anyway, any documentation that reduces that makes that clearer is gonna be a plus :)

@bitnik
Copy link
Contributor Author

bitnik commented Aug 11, 2020

Oh, I actually had it as JupyterHub_IP/hub/home which is probably what JupyterHub_IP resolves to, right?

Yes, exactly.

I will merge this now and do more improvements later :)

@bitnik bitnik merged commit 1899ede into master Aug 11, 2020
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

Successfully merging this pull request may close these issues.

3 participants