mirror of
https://github.com/valitydev/es-template-validate.git
synced 2024-11-06 02:25:20 +00:00
564 B
564 B
-
Create file <template_name>.json and fill it with ES index template
-
Copy <template_name>.json into templates directory
-
Create file <template_name>.json and fill it with sample data for your <template_name>
-
Copy <template_name>.json into samples directory
-
Build and run ES container:
docker-compose up -d
-
Run app.py script and read it's output:
python app.py
If ES-generated mapping matches your template script will exit with 0 status code or 1 in opposite case.