A demo retail website, powered by Aerospike, showcasing Key-Value, Graph, and Vector Search.
To run locally:
- Download the kaggle fashion dataset
- Place the contents of the
/images/
directory in thedata/images/
directory. - Place the contents of the
/styles/
directory in thedata/styles/
directory.
- Place the contents of the
- Replace the
config/aerospike/features.replace.conf
andconfig/vector/features.replace.conf
with a valid Aerospike feature key file.Note
The feature key file must have a line item for
vector-service
- Create the containers:
or
DOCKER_BUILDKIT=0 docker-compose up -d # using docker-compose standalone
DOCKER_BUILDKIT=0 docker compose up -d # using docker
- Load data into the database:
docker exec -it -w /server aerospike-client python3 load_data.py
Note
This will take some time. It's loading ~44,000 fashion items, creating an embedding for each image, and 100,000 customer profiles
- Access the site at http://localhost:4173