From e3f9682c7048849b9e32cb3348e4a524797b816d Mon Sep 17 00:00:00 2001 From: Tobias Benra Date: Tue, 18 Apr 2023 19:24:07 +0200 Subject: [PATCH] Add Windows command In Windows you need to use a different command to set environment variables. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9eacfed..9980549 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,21 @@ Note that this repository contains code to build different sites with some share ## Local development environment To build the site locally, make sure you have Node installed (currently tested -with version 14). Then run: +with version 14). In Linux run: ```shell npm install npm run build:styles SITE=angestoepselt npm run dev:site ``` +If you are using Windows, you need to use the following command instead: +```shell +npm install +npm run build:styles +$env:SITE="angestoepselt" +npm run dev:site +``` + Go to , which will update live when content changes (the initial build may take some time to render out the different image sizes).