mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Merge branch 'stage' (early part)
This commit is contained in:
commit
2667699d2b
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
|
@ -29,13 +29,21 @@ Note that this repository contains code to build different sites with some share
|
||||||
## Local development environment
|
## Local development environment
|
||||||
|
|
||||||
To build the site locally, make sure you have Node installed (currently tested
|
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
|
```shell
|
||||||
npm install
|
npm install
|
||||||
npm run build:styles
|
npm run build:styles
|
||||||
SITE=angestoepselt npm run dev:site
|
SITE=angestoepselt npm run dev:site
|
||||||
```
|
```
|
||||||
|
If you are using Windows, you need to use the following commands in PowerShell 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
|
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).
|
(the initial build may take some time to render out the different image sizes).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue