Setup Hugo

pCP Team 26 October 2020 pCP 6.1.0 Publishing

Instructions for setting up Hugo for Windows 10. Similar process for Linux.

Hugo setup - Windows 10 #

See Installing Hugo .

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_0.74.3_Windows-64bit.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 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.