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

Usage abc #22

Closed
willkwolf opened this issue Oct 1, 2017 · 5 comments
Closed

Usage abc #22

willkwolf opened this issue Oct 1, 2017 · 5 comments

Comments

@willkwolf
Copy link

Thanks for this great plugin.

I am really new into jupyters and sublime framework, and i get confused in the 'usage' configuration part, so would you please explain me with screen captures the step by step( i'll apreciate it too much) to configure sublime text to run hermes. Thank you wizard.

@ngr-t
Copy link
Collaborator

ngr-t commented Oct 1, 2017

Thank you for using my package and the encouraging comment!

Could you clarify what is the step blocks you? I think below are the points lacked in my usage description:

  • You can run the commands with the command pallet shown by hitting ctrl+shift+P, input command name, and then hit the enter key.
  • Hermes package does not have any default key bindings for its commands, so you have to run the commands with the command pallet unless you configure key bindings.
  • When you run Jupyter Notebook in the console, the address and the token to access notebook is shown in console, which you have to input in the text input window when you run the Hermes: Set URL command. Typically the address is http://localhost:8888/ and the token is generated every time you invoke the Jupyter.

Recently I'm so busy with my business projects that it's hard for me to take time to make the tutorial with screenshots within a few month (making this kind of things is harder than saying generally speaking), though I know it should be very helpful.

@QuinRiva
Copy link

Thanks @ngr-t , the package is fantastic - but the learning curve to get it up and running is a little steep.

I've managed to get it up and running with a local instance of Jupyter, but have struggled to get it running with Google's Datalab. The use case is to write code locally within sublime but execute on the Google VM (that can access Bigquery and Cloud Storage).

Does Hermes require Jupyter to be run with the Kernal gateway? It looks like Google deprecated Kernal gateway support from the main branch, but have a separate branch that supports it (https://github.com/googledatalab/datalab/tree/master/containers/gateway).

If the Kernal Gateway is not required, would you be able to provide some guidance on how to connect? I'm struggling to identify where the Token is listed (within the Google environment).

@ngr-t
Copy link
Collaborator

ngr-t commented Oct 11, 2017

Sorry but I've never usesd Google's Datalab. Below are just a guess.
Maybe we can avoid Kernel gateway by setting up an SSH tunnel. You can use ssh (or MobaXTerm if you use Windows) to make a tunnel, from the port Jupyter is listening to on the remote machine, to 8888 or any port of the local machine you like.
I can't guess how to get the token from the Jupyter process running on Google's Datalab, but you should be able to set a value by modifying the entry of c.NotebookApp.token in the config file if you can touch it.

@sschuhmann
Copy link
Collaborator

This could be closed!

@pykong
Copy link
Collaborator

pykong commented Feb 28, 2020

Stale. Closing.

@pykong pykong closed this as completed Feb 28, 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

No branches or pull requests

5 participants