Try Appmod and NBGitPuller
Try Appmode¶
In [ ]:
!sudo -E pip install appmode
!sudo -E jupyter nbextension enable --py --sys-prefix appmode
!sudo -E jupyter serverextension enable --py --sys-prefix appmode
Try NBGitPuller¶
In [ ]:
!sudo -E pip install -U nbgitpuller
In [ ]:
from nbgitpuller import pull
pull.__file__
In [ ]:
from nbgitpuller import handlers
handlers.__file__
Change repo_url
to clone_cmd
¶
In [ ]:
!cd ~ && git clone --branch change-to-clone-command https://github.com/seii-saintway/nbgitpuller.git
In [ ]:
!sudo cp ~/nbgitpuller/nbgitpuller/pull.py /opt/tljh/user/lib/python3.6/site-packages/nbgitpuller/pull.py
!sudo cp ~/nbgitpuller/nbgitpuller/handlers.py /opt/tljh/user/lib/python3.6/site-packages/nbgitpuller/handlers.py
https://jhub.name
git clone https://github.com/seii-saintway/nbgitpuller
change-to-clone-command
binder/link_generator.ipynb
app
Installation¶
In [ ]:
!sudo -E pip install git+https://github.com/seii-saintway/nbgitpuller@change-to-clone-command