Setup Hugo

pCP Team 13 October 2022 pCP 8.2.0 Publishing
Instructions for setting up Hugo 0.132.2 for Windows 10. Similar process for Linux.

Hugo setup - Windows 10

See Installing Hugo.

Steps

Step 1 - Create directory structure
C:.
└── Hugo
    ├── bin
    └── pCP-docs

$ cd \

$ mkdir Hugo

$ cd Hugo

$ mkdir bin

$ mkdir pCP-docs

Step 2 - Add c:\Hugo\bin to $PATH

Edit the system environment variables.

Click [Environment Variables].

Step 3 - Download Hugo

Download the appropriate Hugo executable—see Download Hugo.

ie. hugo_extended_0.103.1_windows-amd64.zip

Step 4 - Copy hugo.exe to c:\Hugo\bin\

$ copy hugo.exe c:\Hugo\bin\

Step 5 - Clone documentation repository from git

Clone from https://gitlab.com/piCorePlayer/pCP-docs.git to c:\Hugo\pCP-docs\

More information

The Software and Information is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
Raspberry Pi is a trademark of the Raspberry Pi Foundation.