You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put them in an .env file in the root directory of the project, set them temporarily in the command line, e.g. export VAR=VAL, or prepend them directly to docker-compose, e.g. VAR=VAL docker-compose up.
Start up the cluster:
docker-compose up
This might take some 10-15 mins. Once finished, Streamlit will be running on port 8501. First time running might take some extra time due to Elasticsearch indexing the data.
As the dataset is fashion themed, useful search input might include some fashion item and some properties such as color, e.g. blue shirt or red pants, as well as something more sophisticated.
In order to use the Elasticsearch API:
Copy the certificate from the cluster to the local machine.
project_dir is the root folder of the project where docker-compose up has been run in, and cert_dir is the directory where to put the certificates on the local machine, could be /tmp/..
Verify connecting to the cluster using the certificates created is working correctly.