From 5454fcc97db1aa8672b39e18b4125fe47c720914 Mon Sep 17 00:00:00 2001 From: Lionel Walter Date: Sat, 7 Sep 2024 10:42:23 +0200 Subject: [PATCH] Update readme --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f51d010..699c83f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,22 @@ # Geo Photo Radar +## Load data with curl -## Set up local directories for docker-composer +Sample data is in the `data` folder + +To load it, you can use http://localhost:8000/api/docs or with curl in the `data` folder +``` +curl -X 'POST' \ + 'http://localhost:8000/api/import' \ + -H 'accept: application/json' \ + -H 'Authorization: Bearer dataimporttoken' \ + -H 'Content-Type: multipart/form-data' \ + -F 'file=@bibzug_glasplatten_adapted.csv;type=text/csv' +``` + + + +## Set up local directories for docker-compose and elastic kiban Do this in app root folder : ```