Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 7a56739

Browse files
committed
Updated readme to include instructions on install
1 parent 974918f commit 7a56739

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ aerospike/results/*
2222
aerospike/data
2323
aerospike/results
2424
.venv/*
25+
ann_benchmarks/algorithms/aerospike/~$README.md

ann_benchmarks/algorithms/aerospike/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,28 @@ The following attributes are added in the resulting ANN HDF5 dataset (note that
192192
- as_upserted_time_secs – The amount of time to perform all the inserts in seconds. This doesn’t include index build completion.
193193
- as_idx_completion_secs – The number of seconds to complete the index build. Does not include inset time.
194194
- as_total_polulation_time_secs – The complete time to insert and build the index.
195+
196+
# Installation
197+
198+
## Docker
199+
200+
Need to install docker and the associated python package. Below are the instructions for [Ubuntu](https://docs.docker.com/engine/install/ubuntu/):
201+
202+
1. \# Add Docker's official GPG key:
203+
1. sudo apt-get update
204+
2. sudo apt-get install ca-certificates curl
205+
3. sudo install -m 0755 -d /etc/apt/keyrings
206+
4. sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
207+
5. sudo chmod a+r /etc/apt/keyrings/docker.asc
208+
2. \# Add the repository to Apt sources:
209+
1. echo "deb [arch=\$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linu\> \$(. /etc/os-release && echo "\${UBUNTU_CODENAME:-\$VERSION_CODENAME}") stable" \| sudo tee /etc/apt/sources.list.d/doc
210+
3. sudo apt-get update
211+
4. sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
212+
5. sudo docker run hello-world
213+
6. pip3 install docker
214+
215+
# Python Packages
216+
217+
In the “aerospike” folder under “algorithms” folder:
218+
219+
1. pip3 install -r requirements.txt

0 commit comments

Comments
 (0)