diff --git a/start.sh b/start.sh index 02b42f1..acafea1 100755 --- a/start.sh +++ b/start.sh @@ -2,6 +2,7 @@ cdir=$(cd "$(dirname "$0")"; pwd) source py3/bin/activate cd $cdir +export PYTHONPATH=$cdir:$cdir/pkgs/rag-pipeline:$PYTHONPATH nohup py3/bin/python app/ragserver.py > logs/ragserver_stdout.log 2>&1 & echo $! > ragserver.pid echo "RAG Server started (pid $(cat ragserver.pid))"