Add Windows command

In Windows you need to use a different command to set environment variables.
This commit is contained in:
Tobias Benra 2023-04-18 19:24:07 +02:00
parent 94b9d65094
commit e3f9682c70

View file

@ -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 <http://localhost:8080/>, which will update live when content changes
(the initial build may take some time to render out the different image sizes).