-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for JupyterHub with local spawner (in the venv) and PAM a… #30
base: master
Are you sure you want to change the base?
Conversation
Just noticed that the installed kernels are not available to other users than pi. They should be installed by root in order to be avaiable to everyone, e.g.:
|
Hi @EWouters, Many thanks for your suggestions / PR!
|
I think it doesn’t matter that much in terms of resources. JupyterHub listens on a port waiting to launch a server, Jupyter listens on a port waiting to launch a kernel. They both run a tornado server. The main difference is the usecase. If you have multiple concurrent users a pi is not going to cut it but if your users want to have their own directory of notebooks and are not all going to stress the server at the same time JupyterHub will be useful for you. I’ve tested with 2 users logged on using a python kernel, and it runs fine. |
Hi @EWouters, |
The Bash kernel works, I tried to get Julia working as well but did not succeed so far. I haven't tried the instructions from the post you mentioned yet. The bash kernel does work, and I haven't got the SQLite kernel installed. |
Add support for JupyterHub with local spawner (in the venv) and PAM authentication.
I see you've made some changes in the dev branch. These files follow the conventions from the master branch, but should be easily convertible. This has not been thoroughly tested. Let me know if you're interested to merge, then I can test and add the changes as in the dev branch.
Thanks for this project, it's really usefull. One suggestion I have though is to write the
inst_jns.sh
file such that it has arguments to block some parts from installing (or the other way around).