Reorganize documentation and add samples. (#447)

Signed-off-by: dblock <[email protected]>
This commit is contained in:
Daniel (dB.) Doubrovkine
2023-07-24 10:23:51 -07:00
committed by GitHub
parent 5866880c81
commit 58217d98ff
18 changed files with 1097 additions and 691 deletions
+19
View File
@@ -0,0 +1,19 @@
# OpenSearch Python Samples
Most samples can be run using OpenSearch installed locally with docker.
```
docker pull opensearchproject/opensearch:latest
docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:latest
```
## Prerequisites
Install [poetry](https://python-poetry.org/docs/).
## Run Samples
```
poetry install
poetry run hello/hello.py
```