MyoQuant / start.sh
lambda scientist
hug
a2e6ff7
#!/bin/bash
source .venv/bin/activate
DIR=$(readlink -f $0 | xargs dirname)
PIDPATH=$DIR/.pid
if [ -f $PIDPATH ]; then
kill $(cat $PIDPATH)
fi
nohup streamlit run Home.py --server.baseUrlPath /MyoQuant --browser.serverAddress lbgi.fr --server.fileWatcherType none --browser.gatherUsageStats false --server.port 8501 --logger.level warning > log 2>&1 &
echo $! > $DIR/pid