-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstart-jupyter-server.sh
More file actions
executable file
·27 lines (19 loc) · 1010 Bytes
/
start-jupyter-server.sh
File metadata and controls
executable file
·27 lines (19 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
# Copyright (c) 2021-2025 Datalayer, Inc.
# Distributed under the terms of the Modified BSD License.
# Copyright (c) 2021-2024 Datalayer, Inc.
# Distributed under the terms of the Modified BSD License.
# Copyright (c) Datalayer, Inc. https://datalayer.io
# Distributed under the terms of the MIT License.
echo -e "\x1b[34m\x1b[43mStarting Jupyter Server\x1b[0m"
echo
echo ✨ open http://localhost:8888/api/jupyter/lab?token=60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6
echo ✨ open http://localhost:8888/api/jupyter/api/kernelspecs?token=60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6
echo ✨ open http://localhost:8888/api/jupyter/jupyter_viewer/config?token=60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6
echo
export CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$CURR_DIR/kill.sh EXIT
trap $CURR_DIR/kill.sh EXIT
jupyter server \
--config=${CURR_DIR}/../config/jupyter_server_config.py \
--autoreload