File: start

package info (click to toggle)
eclib 20250122-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,916 kB
  • sloc: cpp: 45,414; makefile: 272; sh: 127
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 "$@"