Prerequisite

Requirements about developing Hugo sites and themes.

Donate

Become a backer or sponsor to support our work.

Sponsors

Docker

Please refer to Install Docker Engine.

Hugo Site

You need to set up a Hugo site for development. If you don’t have one yet, you should create a new Hugo site first.

Create Hugo Site From Scratch

1docker run -v ${PWD}:/src hugomods/hugo:exts-non-root hugo new site mysite
1docker run -v ${PWD}:/src -u 1000:1000 hugomods/hugo:exts hugo new site mysite

Launch Up Hugo Server

Once site was prepared, you can either using Docker Run or Docker Compose to launch up Hugo server.