Skip to content

Commit

Permalink
Launch file documentation for jupyterlab-python (PrairieLearn#11162)
Browse files Browse the repository at this point in the history
* Launch file instructions

* Small formatting tweaks

* Update workspaces/jupyterlab-python/README.md

Co-authored-by: Nathan Sarang-Walters <nwalters512@gmail.com>

---------

Co-authored-by: Nathan Sarang-Walters <nwalters512@gmail.com>
  • Loading branch information
ZacWarham and nwalters512 authored Jan 14, 2025
1 parent 9d539e1 commit 09452ca
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions workspaces/jupyterlab-python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# workspace-jupyterlab-python

To automatically open a file when the workspace is started, set the `LAUNCH_FILE_NAME` environment variable in your question's `info.json`:

```json
{
"workspaceOptions": {
"image": "prairielearn/workspace-jupyterlab-python",
"environment": {
"LAUNCH_FILE_NAME": "some_file.ext"
}
}
}
```

Replace `some_file.ext` with your file. It is expected that this file exists inside of the `/workspace` directory of the question. See the [workspaces documentation](https://prairielearn.readthedocs.io/en/latest/workspaces/) for more details on environment variable usage.

0 comments on commit 09452ca

Please sign in to comment.