Hi,
following situation:
10 people need reading access to a jupyter notebook, only I have writing access to it (I will maintain it). The idea is that those 10 people can change a few parameters in some cells and run them to see the effect (without the need of saving anything). Note that we are all in the same intranet.
What I have done:
Setup a jupyterhub configuration on my desktop PC doing the following:
- $ sudo apt-get install nodejs-legacy npm
- $ sudo npm install -g configurable-http-proxy
- $ sudo apt-get install python3-pip
- $ sudo pip3 install "ipython[notebook]"
$ sudo pip3 install jupyterhub
$ git clone https://github.com/jupyter/jupyterhub.git
$ cd jupyterhub
$ sudo pip3 install -r dev-requirements.txt -e .
- $ sudo python3 setup.py js
$ sudo python3 setup.py css
Create a user which should be the one who my colleagues will use to login to the jupyter notebook
- $ sudo adduser --home <folder_with_jupyter_notebook> user42
- $ sudo chown user42:user42 <folder_with_jupyter_notebook>
- $ sudo chmod 777 <folder_with_jupyter_notebook>
When I now login with the new user user42 and start jupyterhub (and leave it running), I can then send my colleagues the address <my-ip-address>:8000 which they type in their browser and they can all (simultaneously) login with user42 and use/play with the jupyter notebook.
I have the feeling that I am doing something (terribly?) wrong as I allow my colleagues basically to login to my PC and I am afraid that this might use a lot of system resources? Any way of restricting that or of a better way to allow my colleagues to have an interactive Jupyter notebook in their browser running?
(We also have computational clusters but I do not have root access their and cannot install jupyterhub :( )
Thanks!