File: start

package info (click to toggle)
eclib 20190909-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,196 kB
  • sloc: cpp: 47,090; makefile: 251; sh: 122
file content (10 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# We need to set the base url locally when not deployed on binder.
BASEURL="${user/${JUPYTERHUB_USER}:-/}"

# Import the workspace into JupyterLab
jupyter lab workspaces import binder/workspace.json \
  --NotebookApp.base_url=$BASEURL --name=""

exec "$@"