You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jlab_start="jupyter Space lab Space --no-browser Space --autoreload Space --port=9889 Space --ip='127.0.0.1' Space --NotebookApp.token='' Space --NotebookApp.password=\"$PW\" Space --notebook-dir=\"~/ECCO-v4-Python-Tutorial/Tutorials_as_Jupyter_Notebooks\""
18
+
19
+
# Start new tmux session
20
+
tmux new -d -s jupyterlab
21
+
22
+
# Execute commands in tmux window using send-keys
23
+
tmux send-keys -t jupyterlab source Space /tmp/conda/bin/activate Enter
24
+
tmux send-keys -t jupyterlab conda Space activate Space jupyter Enter
25
+
tmux send-keys -t jupyterlab ${jlab_start} Enter
26
+
27
+
# Print info about tmux session
28
+
echo -e "${red_start}Started Jupyter lab in tmux session jupyterlab"
29
+
echo -e "${red_start}Access from your local machine in a browser window at"
30
+
echo -e "${blue_start}http://127.0.0.1:9889/"
31
+
echo -e "${red_start}tmux session can be accessed with"
0 commit comments