Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Typical Things You Might Want to do with JupyterHub

  • What is the URL

  • Where is the repository

  • How to start JupyterHub

  • Typical functions

  • Logging

    - Still to do

Topicbdfiddlelogin 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
logrefer to bdfiddle set up.
docker logs <main CONTAINER ID>
or open Kitematic on local machine

log_filename = "/home/ubuntu/logs/jpost_flask.log"

(this is setup in jpost.py)

docker logs <main CONTAINER ID>
or open Kitematic on local machine


Illustration of JupyterHub Network Flow

...