Wow, thanks for the amazing discussion. This is super helpful.
So I feel I’m 90% there but something isn’t working still.
My actions:
- Generate a config file for jupyterlab:
jupyter lab --generate-config
(one was generated in /home/ubuntu/.jupyter/jupyter_notebook_config.py
)
- Edit the below lines:
c.NotebookApp.default_url = '/tree/README.ipynb'
c.LabApp.default_url = '/lab/tree/README.ipynb'
systemctl restart jupyterhub.service
Unfortunately when I re-login into the server I still see launcher as the default landing page. The url also never attempts to go to /lab/tree/README.ipynb
.
It can’t be the url itself because when I manually modify it, it does indeed go to the doc: https://xxxx.com/jupyter/user/ubuntu/lab/tree/README.ipynb
.
It can’t be step #3 coz when I change other settings in the config file they do reflect. Eg I tried turning off the terminal and it disappeared from the launcher.
What am I missing?
PS Forgot to say earlier, I’m serving JupyterLab using JupyterHub over SSL. Not sure if relevant.