Skip to content
Snippets Groups Projects
Commit c4917779 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

adds ngrader.

parent cbdeb7e2
No related branches found
No related tags found
No related merge requests found
...@@ -91,6 +91,14 @@ COPY code-server/icons $HOME/.jupyter/icons ...@@ -91,6 +91,14 @@ COPY code-server/icons $HOME/.jupyter/icons
RUN [[ ! -f /home/jovyan/.jupyter/jupyter_config.py ]] && touch /home/jovyan/.jupyter/jupyter_config.py ; \ RUN [[ ! -f /home/jovyan/.jupyter/jupyter_config.py ]] && touch /home/jovyan/.jupyter/jupyter_config.py ; \
cat /tmp/jupyter_codeserver_config.py >> /home/jovyan/.jupyter/jupyter_config.py cat /tmp/jupyter_codeserver_config.py >> /home/jovyan/.jupyter/jupyter_config.py
COPY nbgrader_config.py /tmp/nbgrader_config.py
RUN python3 -m pip install git+https://github.com/jupyter/nbgrader.git@5a81fd5 && \
jupyter nbextension install --symlink --sys-prefix --py nbgrader && \
jupyter nbextension enable --sys-prefix --py nbgrader && \
jupyter serverextension enable --sys-prefix --py nbgrader && \
python3 -m pip install ngshare_exchange && \
cat /tmp/nbgrader_config.py >> /etc/jupyter/nbgrader_config.py
USER $NB_USER USER $NB_USER
RUN echo -e "\e[93m***** Moves user environment to work subdirectory ****\e[38;5;241m" && \ RUN echo -e "\e[93m***** Moves user environment to work subdirectory ****\e[38;5;241m" && \
......
from ngshare_exchange import configureExchange
c=get_config()
configureExchange(c, 'http://ngshare.jhub.svc.cluster.local:8080/services/ngshare')
# Add the following line to let students access courses without configuration
# For more information, read Notes for Instructors in the documentation
c.CourseDirectory.course_id = '*'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment