Helium icon indicating copy to clipboard operation
Helium copied to clipboard

Usage abc

Open willkwolf opened this issue 9 years ago • 5 comments

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.

willkwolf avatar Oct 01 '17 04:10 willkwolf

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.

ngr-t avatar Oct 01 '17 08:10 ngr-t

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).

QuinRiva avatar Oct 11 '17 05:10 QuinRiva

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.

ngr-t avatar Oct 11 '17 13:10 ngr-t

This could be closed!

sschuhmann avatar Oct 28 '19 17:10 sschuhmann

Stale. Closing.

pykong avatar Feb 28 '20 23:02 pykong