Use JupyterHub as a multi-user spawner for Sandstone IDE
Install the Python module to your Sandstone IDE environment first
python setup.py install
Then modify your Sandstone IDE configuration to use the Sandstone JupyterHub Login handler, and to pull the URL prefix from the environment.
import os
LOGIN_HANDLER = 'sandstone_jupyterhub_login.handlers.JupyterHubLoginHandler'
URL_PREFIX = os.environ.get('SANDSTONE_PREFIX', '')
JupyterHub can now invoke Sandstone IDE by running
<sandstone-python-path>/bin/sandstone-jupyterhub
If you have deployed JupyterHub over SSL using a self-signed certificate, then you must deconfigure verification in the login handler:
VERIFY_JH_CERT = False