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",