From 375b7f1d7ccf00b31173f38821dfe50d0a26c443 Mon Sep 17 00:00:00 2001 From: medina5 Date: Thu, 23 Oct 2025 10:14:43 +0200 Subject: [PATCH] gitattributes --- .gitattributes | 9 +++++++++ exercice2.md | 3 ++- item.json | 17 +++++++++++++---- 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2e4a845 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# These files should have specific line endings +*.sh text eol=lf + +# These files are binary and should be left untouched +# (binary is a macro for -text -diff) +*.jpeg binary diff --git a/exercice2.md b/exercice2.md index f4c8fb2..30203a2 100644 --- a/exercice2.md +++ b/exercice2.md @@ -1,8 +1,9 @@ # Exercice MongoDB ```shell +git clone https://sources.neotech.fr/Universite/nosql-document.git docker compose up -d 'mongodb' --build -docker exec -it sql-mongodb-1 mongosh --username admin +docker exec -it nosql-document-mongodb-1 mongosh --username admin ``` Changer de base de données diff --git a/item.json b/item.json index df24ba3..2c77896 100755 --- a/item.json +++ b/item.json @@ -7,6 +7,10 @@ "L / 172-182 cm", "XL / 180-195 cm" ], + "categories": [ + "VTT", + "Tout Suspendu" + ], "name": "VTT Tout Suspendu Cannondale Jekyll 2 Shimano Deore 12V 29″ Gris / Bleu", "manufacturer": { "@type": "Organization", "name":"Cannondale" }, "color": "Gris / Bleu", @@ -22,7 +26,7 @@ "taille": "M / 162-175 cm", "stock": 2, "priceCurrency": "EUR", -"price": 3299.99, + "price": 3299.99, "mpn": "C21202U40MD", "sku": "2644969", @@ -36,7 +40,7 @@ "taille": "L / 172-182 cm", "stock": 1, "priceCurrency": "EUR", -"price": 3299.99, + "price": 3299.99, "mpn": "C21202U40LG", "sku": "2644994", "url": "https://www.alltricks.fr/F-11947-velos-complets-vtt/P-2575609-vtt_tout_suspendu_cannondale_jekyll_2_shimano_deore_12v_29___gris___bleu" @@ -45,9 +49,14 @@ "additionalProperty": { "genre": "Mixte", "matière du cadre": "Aluminium", - "groupe": { "name": "Shimano Deore 12V", "manufacturer": { "@type": "Organization", "name": "Shimano" } } + "groupe": { + "name": "Shimano Deore 12V", + "manufacturer": { + "@type": "Organization", + "name": "Shimano" + } + } }, - "geometries": [ { "taille cadre": "S",