Added info in README about how to run it locally
This commit is contained in:
parent
04a4c128b1
commit
be98c1d9dd
@ -11,11 +11,14 @@ git clone --recurse-submodules https://git.privacynerd.de/git.privacynerd.de/blo
|
||||
cd blog
|
||||
```
|
||||
|
||||
## Building
|
||||
## Running & Building
|
||||
|
||||
To build, just run the below command. It will generate a new html in a fresh public folder.
|
||||
To build or run, just use one of the commands below. It will generate a new html in a fresh public folder.
|
||||
|
||||
> IMPORTANT! You have to be in the root of this repository to proceed. Executing one of the below commands will delete the `public` folder (to allow for a really fresh build).
|
||||
|
||||
```sh
|
||||
rm -r public/ && hugo server --bind 127.0.0.1 -b http://127.0.0.1/ --minify --openBrowser --appendPort --printI18nWarnings
|
||||
rm -r public/ && hugo build --minify --printI18nWarnings
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user