Some notes for people wanting to contribute to this project.
- Clone this GitHub repo (intersystems-community/vscode-iris-jupyter-server).
- Open the local folder in VS Code. If prompted, install recommended extensions.
- When a notification appears, choose to
Reopen in Container
. If it doesn't appear, click the><
panel at the left end of the status bar and chooseReopen in Container
from the quickpick that appears. - When "Starting Dev Container (show log)" notification appears, click on it to display progress.
- If notified "Configuration file(s) changed", click
Rebuild
. - If notified "Git not found", click either
X
orDon't Show Again
unless you intend using the dev container to make changes to the cloned repo. - If notified about application on port 1972, click
X
. - When the dev container has finished starting, the "Configuring Dev Container (show log)" notification will disappear.
- Use the Activity Bar to switch to "Run and Debug".
- Start debugging with the "Run Extension" configuration.
- The Extension Development Host (EDH) window opens after "Building..." spinner in status bar has finished. If it notifies you "Configuration file(s) changed", click
Ignore
. If any notification about app ports appears, clickX
to dismiss it. - In EDH's Explorer view, open the file
polyglot1.ipynb
- If you get a notification about security in relation to connecting over HTTP without a token, click
Yes
orDo not show again
. - Click the
Select Kernel
button in the upper right of the notebook. ChooseExisting Jupyter server...
. If the next quickpick already contains an entryRemote - localhost
then select it. Otherwise opt to enter a URL and enterhttp://localhost:50773/devcontainer:user?token=
when prompted. On the next prompt ("Change Server Display Name") just press Enter. - Click the
Run All
button. You should see an output cell appear underneath each of the three code cells.