From 9eeed0aebcabcb348ab619992241707b2ba911ce Mon Sep 17 00:00:00 2001 From: Adam Hevenor Date: Thu, 12 Dec 2024 14:47:36 -0700 Subject: [PATCH] Removes symlink from docker instructions This sym link doesn't work. Replaced with an rsyc command. --- prism-image-search/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/prism-image-search/README.md b/prism-image-search/README.md index af7f4e9..5b1e103 100644 --- a/prism-image-search/README.md +++ b/prism-image-search/README.md @@ -54,10 +54,11 @@ description. ## Install using docker compose If you have a license key, you can easily setup Aerospike, AVS, and the prism-image-search -app using docker-compose. When using docker-compose, you'll need to place your images in `container-volumes/prism/images/static/data` +app using docker-compose. When using docker-compose, you'll need to place your images in `container-volumes/prism/images/static/data`. +You can not use a sym link. This command will copy jpgs from your `~/Pictures` directory. ```shell -ln -s ~/Pictures container-volumes/prism/images/static/data +rsync -av --include='*/' --include='*.jp*' --exclude='*' ~/Pictures ./aerospike-vector-search-examples/prism-image-search/container-volumes/prism/images/static/data ``` ### 1. Build the prism image @@ -152,4 +153,4 @@ restart and hence is ideal for development. ```shell FLASK_ENV=development FLASK_DEBUG=1 python3 -m flask --app prism run --port 8080 -``` \ No newline at end of file +```