update run.sh

pull/45/head
Muhammad Atif Ali 2 years ago
parent 368a3a0e78
commit 4c3194b059
No known key found for this signature in database

@ -1,6 +1,8 @@
#!/usr/bin/env sh
echo "Installing jupyterlab..."
BOLD='\033[0;1m'
echo "$${BOLD}Installing jupyterlab!\n"
# check if jupyterlab is installed
if ! command -v jupyterlab & >/dev/null; then
@ -13,15 +15,11 @@ if ! command -v jupyterlab & >/dev/null; then
fi
# install jupyterlab
pip3 install --user -q -y jupyterlab
echo "jupyterlab installed."
echo "🥳 jupyterlab has been installed\n\n"
else
echo "jupyterlab is already installed."
echo "🥳 jupyterlab is already installed\n\n"
fi
echo "Starting jupyterlab..."
$HOME/.local/bin/jupyter lab --no-browser --LabApp.token='' --LabApp.password='' >${LOG_PATH} 2>&1 &
echo "jupyterlab Started!"
echo "👷 Starting jupyterlab in background..."
echo "check logs at ${LOG_PATH}"
$HOME/.local/bin/jupyter lab --no-browser --LabApp.token='' --LabApp.password='' >${LOG_PATH} 2>&1 &

Loading…
Cancel
Save