This package was built using the jupyter-server-proxy cookiecutter template.
(Optional) For testing:
This package executes the standard codeserver command. This command assumes the codeserver command is available in the environment's PATH. For convenience, the tests include cases that assert outputs when running the codeserver command from a docker container. If you don't need to run tests with this setup running in a docker container, then remove the tests/test_codeserver_docker.py file or comment out the code in the file.
This test requires you to have a database instance available as a public endpoint or installed within the notebook container itself.
virtualenv -p python3 venv
source venv/bin/activatepip install git+https://github.com/dragonstyle/jupyter-codeserver-proxy.git- For Jupyter Classic, activate the
jupyter-server-proxyextension:
jupyter serverextension enable --sys-prefix jupyter_server_proxy- For Jupyter Lab, install the
@jupyterlab/server-proxyextension:
jupyter labextension install @jupyterlab/server-proxy
jupyter lab build-
Start Jupyter Classic or Jupyter Lab
-
Click on the
codeservericon from the Jupyter Lab Launcher or thecodeserveritem from theNewdropdown in Jupyter Classic.
BSD 3-Clause