Running VSCode Web IDE code-server inside the Jupyter environment.
- Installed version of https://github.com/coder/code-server
- If code-server is installed via Lmod: Loading
code-server
using Lmod
- If code-server is installed via Lmod: Loading
jupyter-server-proxy>=4.1.2
python3 -m pip install jupyter-code-server
The environment variable CODE_WORKING_DIRECTORY
is prioritised and can be changed for the VSCode Web IDE independently of the Jupyter working/notebook directory.
The order/priority is as follows:
CODE_WORKING_DIRECTORY
, if not set:JUPYTERHUB_ROOT_DIR
, if not set:JUPYTER_SERVER_ROOT
, if not set:HOME
An example of loading code-server via Lmod can be found in the branch lmod_pre_start: lmod_pre_start
Important: You might want to change the loaded code-server version.