> Can you give me some kind of Hello world! -example of Jupyter? ./sage > --notebook=jupyter will open a server to port 8888 --- how to change the > port or, more general, is there some help file? First I would like to see a > way to have two local user using Sage and not seeing each other files.
I am not sure you realize that JupyterHub is not shipped with Sage. Running ./sage --notebook=jupyter will run the Jupyter server, NOT JupyterHub. This is a single-user setting: the Jupyter server runs as your user, and can acces any file your user can access (the file explorer is rooted in your working dir, but you can go anywhere in the file system using Python). JupyterHub is a different beast: it is a server that waits for connections and spawns Jupyter servers under different userids. So this is similar to running ./sage --notebook=jupyter as two different users in their respective homedirs. If you want to try out JupyterHub, you will have to install it separately, and link the Sage kernel to it. I find the JupyterHub docs pretty well written and easy to follow for a Hello world test https://jupyterhub.readthedocs.io/en/latest/getting-started.html You can test them in a virtualenv for an easy throwaway setup. Volker's scripts may be another good starting point, although I haven't tested them. Alternatively, there is a docker container here : https://hub.docker.com/r/jupyterhub/jupyterhub/ which is also good for testing. I agree with Dima that a tutorial for setting up JupyterHub in a SageNB-like way would be much welcome. I have the feeling that the Jupyter/JupyterHub/SageMath integration is still a bit of a moving target ATM, but we should try to write this sooner than later. Luca -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.