1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 04:41:33 -05:00

Update local development instructions (README.md) (#29)

Signed-off-by: WfKe9vLwSvv7rN <96372288+WfKe9vLwSvv7rN@users.noreply.github.com>
This commit is contained in:
WfKe9vLwSvv7rN 2022-07-24 02:43:59 -07:00 committed by tommytran732
parent 344c8862c3
commit b7992795f7
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -19,8 +19,11 @@ We use [Netlify](https://netlify.com) to host our website and generate previews.
## Local Development
1. Git clone this repository: `git clone https://github.com/PrivSec-dev/privsec.dev`
2. [Install Hugo](https://github.com/PrivSec-dev/privsec.dev)
3. Run `hugo serve`. The local version of the website should be available at `http://127.0.0.1:1313`
4. You can run `git submodule update --remote --merge` to update the PaperMod theme
5. You can run `./external-blogs.sh` to pull the latest versions of the articles from [wonderfall.dev](https://wonderfall.dev) and place them in `/content`
1. [Install Hugo](https://gohugo.io/getting-started/installing/)
1. Clone this repository: `git clone --recurse-submodules https://github.com/PrivSec-dev/privsec.dev`
1. Run `hugo serve` to start the local development server at (by default) `http://localhost:1313`
- Alternatively run `hugo` to simply build the site into the `/public` directory
- Run `git submodule update --merge` to update the [WonderMod theme](https://github.com/Wonderfall/hugo-WonderMod) to the version specified in this repo
- Run `git submodule update --remote --merge` to update to the upstream master branch of WonderMod
- Run `./external-blogs.sh` to pull the latest versions of the articles from [wonderfall.dev](https://wonderfall.dev) and place them in `/content`