Jupyter: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The sandbox + sandbot installs of jupyter are documented in the following git repo: | |||
https://git.xpub.nl/murtaugh/jupyterpi | |||
In terms of loosening security (useful for local web testing via the jupyter tabs)... | |||
* https://stackoverflow.com/questions/42233102/how-to-create-an-insecure-jupyter-server | |||
"CORS" errors on ajax calls: | |||
c.NotebookApp.allow_origin = '*' | |||
== First version (not active anymore) == | |||
We have an installation based on [https://tljh.jupyter.org TLDH] | We have an installation based on [https://tljh.jupyter.org TLDH] | ||
Revision as of 17:45, 6 April 2021
The sandbox + sandbot installs of jupyter are documented in the following git repo:
https://git.xpub.nl/murtaugh/jupyterpi
In terms of loosening security (useful for local web testing via the jupyter tabs)...
"CORS" errors on ajax calls:
c.NotebookApp.allow_origin = '*'
First version (not active anymore)
We have an installation based on TLDH
At the moment the install is https://notebook.xpub.nl/
It was installed on a VPS on OVH following these instructions
- https://tljh.jupyter.org/en/latest/howto/content/share-data.html
- https://tljh.jupyter.org/en/latest/howto/env/notebook-interfaces.html
In the end used "lab" and not "jupyterlab" for the user_environment setting.
Installed the git extension with:
sudo -E conda install jupyterlab-git -c conda-forge
But maybe considering uninstalling this... it's not super well integrated ... pulling changes leaves the notebook in a weird detached state -- need to close and reopen notebooks to see changes. Also the constand polling of the git interface is disturbing...
nbgitpuller link generator: https://jupyterhub.github.io/nbgitpuller/link?hub=https://notebook.xpub.nl
OK this seems to work, and each time you click on the link it pulls the repo -- merging if necessary! (important for people to realize if they make changes to be sure they want to merge when clicking)