From e474250640e2c99639bc5399224471742a1b5790 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sun, 24 Sep 2023 17:36:19 +0300 Subject: [PATCH] chmod +x --- .sample/run.sh | 0 jupyterlab/run.sh | 13 ++++--------- 2 files changed, 4 insertions(+), 9 deletions(-) mode change 100644 => 100755 .sample/run.sh mode change 100644 => 100755 jupyterlab/run.sh diff --git a/.sample/run.sh b/.sample/run.sh old mode 100644 new mode 100755 diff --git a/jupyterlab/run.sh b/jupyterlab/run.sh old mode 100644 new mode 100755 index 8e0ba35..a3a484a --- a/jupyterlab/run.sh +++ b/jupyterlab/run.sh @@ -11,17 +11,12 @@ if ! command -v jupyterlab &> /dev/null then echo "Please install pip3 and try again" exit 1 fi + pip3 install jupyterlab + echo "jupyterlab installed!" fi - - -" - echo "Starting ${MODULE_NAME}..." -# Start the app in here -# 1. Use & to run it in background -# 2. redirct stdout and stderr to log files -./app >${LOG_PATH} 2>&1 & +$HOME/.local/bin/jupyter lab --no-browser --LabApp.token='' --LabApp.password='' >${LOG_PATH} 2>&1 & -echo "Sample app started!" +echo "Started ${MODULE_NAME}!"