From fe4fc1b4e377cd560d1f0766ae34e91fe7509171 Mon Sep 17 00:00:00 2001 From: Boris Waaub Date: Wed, 28 Jan 2026 17:22:37 +0100 Subject: [PATCH] =?UTF-8?q?feat(docker):=20ajouter=20des=20instructions=20?= =?UTF-8?q?de=20d=C3=A9marrage=20avec=20Docker=20dans=20le=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++++++++++ package.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1ca37b0 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ + +# Démarrage avec Docker + +Pour builder l'image Docker : + +```bash +docker build -t chill-site . +``` + +Pour lancer le site en local : + +```bash +docker run -p 1313:1313 chill-site +``` + +Le site sera accessible sur http://localhost:1313 diff --git a/package.json b/package.json index 5618b12..ae1392f 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,9 @@ "license": "MIT", "scripts": { "scss": "sass --watch assets/scss/custom.scss:static/css/custom.css", + "scss-build": "sass assets/scss/custom.scss:static/css/custom.css", "start": "concurrently \"npx tailwindcss -i themes/chill-theme/assets/css/main.css -o static/css/style.css --watch\" \"npm run scss -- --watch\" \"hugo server -D\"", - "build": "tailwindcss -i themes/chill-theme/assets/css/main.css -o static/css/style.css --minify && npm run scss && hugo --minify" + "build": "tailwindcss -i themes/chill-theme/assets/css/main.css -o static/css/style.css --minify && npm run scss-build && hugo --minify" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7",