-
Notifications
You must be signed in to change notification settings - Fork 3
Updated to use JupyterHub extension #20
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,8 +16,8 @@ special "proxy" extension is needed. | |
| On your laptop: | ||
|
|
||
| - **VS Code** | ||
| - **Jupyter extension** (`ms-toolsai.jupyter`) | ||
| - **Python extension** (`ms-python.python`) — installed automatically as a dependency of the Jupyter extension | ||
| - **JupyterHub extension** (`JupyterHub`) | ||
| - **Python extension** (`ms-python.python`) | ||
|
|
||
| In GeoLab: | ||
|
|
||
|
|
@@ -80,43 +80,43 @@ Copy that entire line — you will paste it into VS Code in the next section. | |
|
|
||
| ## VS Code side: connect to the server | ||
|
|
||
| 1. Install the **Jupyter** extension (`ms-toolsai.jupyter`) from the Extensions | ||
| 1. Install the **Jupyter** extension (`JupyterHub`) from the Extensions | ||
| view if you have not already. | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 2. Open or create a notebook file (`.ipynb`) in VS Code. | ||
|
|
||
| 3. Click the **kernel picker** in the top-right of the notebook (it may read | ||
| "Select Kernel"). | ||
| 3. Click the **kernel picker** in the top-right of the notebook ("Select Kernel"). | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 4. Choose **Select Another Kernel...** | ||
| 4. Choose **Enter the URL of the running JupyterHub Server...** | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 5. Choose **Existing Jupyter Server...** | ||
| 5. Choose **Enter the URL of running JupyterHub server**. Paste the full tokenized URL you copied from GeoLab, including the | ||
| `?token=...` part, then press Enter. | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 6. Choose **Enter the URL of a running Jupyter server**. | ||
| 7. Press `Enter` for **Enter your username..** | ||
|
|
||
|  | ||
|  | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's kinda self-explanatory from the screenshot, but a little extra text on finding your Auth0 id and "this is not the email address you used to log in" might be helpful if images fail to resolve, or for agents parsing our docs |
||
|
|
||
| 7. Paste the full tokenized URL you copied from GeoLab, including the | ||
| `?token=...` part, then press Enter. | ||
| 8. Press `Enter` for **Enter your password or API token...**. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, add more detail that this is the 'token' part of the URL and not the password you used to log in to geolab. Or have the code snippet above print the token separately from the built URL? |
||
|
|
||
|  | ||
|
|
||
| 8. When prompted, accept or edit the display name for the server. | ||
| 9. Optional: **Change server name** | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 9. Back in the kernel picker, select the kernel exposed by the remote server | ||
| (for example, the Python 3 kernel from your GeoLab environment). | ||
| 10. **Select a Kernel from JupyterHub GeoLab**. Choose `Python 3 (ipykernel)` to select a new kernel. | ||
|
|
||
|  | ||
|  | ||
|
|
||
| 10. Run a cell to confirm. Execution now happens inside your GeoLab pod, using | ||
| 11. Run a cell to confirm. Execution now happens inside your GeoLab pod, using | ||
| the GeoLab environment and compute — not your laptop. | ||
|
|
||
| --- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clarify these are vscode extensions, not separate apps