[IPython-dev] Best practice of deployment for university courses

Steve Holden steve at holdenweb.com
Mon May 18 06:45:09 EDT 2015


On May 18, 2015, at 10:11 AM, Ozan Çağlayan <ozancag at gmail.com> wrote:

> Hi,
> 
> I installed jupyterhub on a server in my university. Here is my plan:
> 1. Create ~/notebooks folder in each home folder
> 2. Configure jupyterhub so that the logged-in users only see the
> ~/notebooks folder. The authentication will be through classical UNIX
> credentials.
> 
So far so good.

> Now I want that each student has access to some course materials
> through their ~/notebooks folder, e.g.:
> 
> ~/notebooks/courses/MATH101
>  - Lecture1.ipynb
>  - Homework1.ipynb
> ~/notebooks/courses/PYTHON101
>  - Lecture1.ipynb
>  - Homework1.ipynb
> 
> etc. To be able to manage this, I thought that maybe I should create a
> system-wide ipynb folder like /opt/notebooks, put the very same
> hierarchy above inside it and make ~/notebooks/courses a symbolic link
> to that folder. The problem is that the /opt/notebooks will only have
> read permissions to regular users. Is there a mechanism to
> fork/clone/save_as a notebook inside ~/notebooks once a student opens
> a notebook from the read-only ~/notebooks/courses?
> 
Had you thought about just copying a single "startup" notebook into each new user's home directory, whose sole purpose is to explain the structure of the course materials and establish a local copy for the student? That's what Jupyter's for, after all. I sometimes think of the Markdown bits as "code for humans" :).

regards
 Steve

> Thanks.
> 
> -- 
> Ozan Çağlayan
> Research Assistant
> Galatasaray University - Computer Engineering Dept.
> http://www.ozancaglayan.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-- 
Steve Holden steve at holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150518/0f1bcbf8/attachment.html>


More information about the IPython-dev mailing list