Skip to content

Commit

Permalink
Merge pull request #84 from qdrant/fix/building-qdrant-native
Browse files Browse the repository at this point in the history
fix: Natively build qdrant
  • Loading branch information
generall authored Dec 11, 2023
2 parents 007d127 + a1e4005 commit f5891cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/run_server_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ if [ "${QDRANT_VERSION}" == "dev" ] || [[ ${QDRANT_VERSION} == docker/* ]]; then
else
# else run natively in the server
DOCKER_QDRANT_STOP="docker stop qdrant-continuous || true"
QDRANT_BUILD="git fetch --tags; git checkout ${QDRANT_VERSION}; git pull; nohup mold -run cargo run --bin qdrant --release &"
QDRANT_BUILD="git fetch --tags; git checkout ${QDRANT_VERSION}; git pull; source "$HOME/.cargo/env"; mold -run cargo run --bin qdrant --release"
ssh -t "${SERVER_USERNAME}@${IP_OF_THE_SERVER}" "cd ./projects/qdrant; ${DOCKER_QDRANT_STOP}; $QDRANT_BUILD"
fi

0 comments on commit f5891cc

Please sign in to comment.