fix: add PYTHONPATH to start.sh
This commit is contained in:
parent
def6a06a49
commit
0ba64d81a1
1
start.sh
1
start.sh
@ -2,6 +2,7 @@
|
|||||||
cdir=$(cd "$(dirname "$0")"; pwd)
|
cdir=$(cd "$(dirname "$0")"; pwd)
|
||||||
source py3/bin/activate
|
source py3/bin/activate
|
||||||
cd $cdir
|
cd $cdir
|
||||||
|
export PYTHONPATH=$cdir:$cdir/pkgs/rag-pipeline:$PYTHONPATH
|
||||||
nohup py3/bin/python app/ragserver.py > logs/ragserver_stdout.log 2>&1 &
|
nohup py3/bin/python app/ragserver.py > logs/ragserver_stdout.log 2>&1 &
|
||||||
echo $! > ragserver.pid
|
echo $! > ragserver.pid
|
||||||
echo "RAG Server started (pid $(cat ragserver.pid))"
|
echo "RAG Server started (pid $(cat ragserver.pid))"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user