Jupyter Service Files for running a SpiNNaker Jupyter Service
- Check out this repository somewhere, and call it $JHOME
- Install Docker, Python, fuse3, supervisor and nginx.
- Build the Jupyterhub service image
docker compose --project_directory $JHOME/SpiNNakerJupyterService/jupyterhub build - Build the Jupyter user image
docker build -t spinnaker_jupyter $JHOME/SpiNNakerJupyterService/SpiNNakerJupyter - Download and install the Seadrive cli. Only the copying of the client to "seadrive" and making it executable is necessary.
- Make a virtualenv for the seafile mounter
python -m virtualenv $JHOME/SpiNNakerJupyterService/seafile_mounter/venv - Install the requirements for the seafile mounter
source $JHOME/SpiNNakerJupyterService/seafile_mounter/venv && pip -r $JHOME/SpiNNakerJupyterService/seafile_mounter/requirements.txt - Copy or link the files in $JHOME/SpiNNakerJupyterService/supervisor.d/ to /etc/supervisor.d/ and restart supervisord
- Copy or link $JHOME/SpiNNakerJupyterService/nginx/jupyterhub to /etc/nginx/sites-enabled and restart nginx