summaryrefslogtreecommitdiff
path: root/start
blob: d484e288de79e2d30c8c4d52cfbf66c62b32af50 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

pg_ctl start -D ~/projects/rag/data/postgres -l ~/projects/rag/data/postgres/server.log >/dev/null 2>&1

pidof qdrant 1>/dev/null && echo "qdrant already running..." || (
  cd ~/projects/rag/data/qdrant
  qdrant >/dev/null 2>&1 &
)
pidof ollama 1>/dev/null && echo "ollama already running..." || ollama serve >/dev/null 2>&1 &
exit 0