You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Setup



bdfiddlelogin APIcustom APIjupyterhub
URL

https://browndog.ncsa.illinois.edu/bdfiddle

https://browndog.ncsa.illinois.edu/bdfiddle-dev/

http://bd-jupyterhub.ncsa.illinois.edu:8000/jupyter/hub/login

or

https://browndog.ncsa.illinois.edu/jupyter/

http://bd-jupyterhub.ncsa.illinois.edu:8889/jupyter

http://bd-jupyterhub.ncsa.illinois.edu:8000/jupyter/hub/login

or

https://browndog.ncsa.illinois.edu/jupyter/

repo

https://opensource.ncsa.illinois.edu/bitbucket/projects/BD/repos/bdfiddle/browse

bdfiddle/bdfiddle.php

http://jupyterhub.readthedocs.io/en/latest/_static/rest-api/index.html

( login API is contained by jupyterhub.)

https://opensource.ncsa.illinois.edu/bitbucket/projects/BD/repos/jupyter/browsedockerhub
how to startMAMP or start as normal php project

on bd-jupyter.ncsa.illinois.edu

sudo service jupyterhub

on local

update config file

https://opensource.ncsa.illinois.edu/bitbucket/projects/BD/repos/jupyter/browse/jupyterhub/jupyterhub.sh


run wit docker, start with script on bd-jupyterhub, so need to start this separately.same as login API
function
  • start jupyterhub
  • post to login api /custom api.
  • open url
  • crown login
  • if this is the first time, dockerspawner create a new user container.
  • find container with username
  • copy file from /tmp to user container.
jupyterhub
log



JupyterHub

NOTE

how to change a config of jupyterhub?

  1. update jupyterhub_config
  2. service jupyterhub stop: use "docker ps" you can find docker container is still running
  3. docker stop <main CONTAINER ID> : browser stops running. 
  4. service jupyterhub start (don't use /home/ubuntu/start_jupyterhub.sh)


you cannot set ACCESS-CONTROL as '*', it is not working. https://github.com/jupyterhub/jupyterhub/issues/1087



  • No labels