This repository is a DDEV add-on for providing Hugo support.
In DDEV addons can be installed from the command line using the ddev add-on get
command, as in ddev add-on get penyaskito/ddev-hugo
.
- Create your ddev project with
ddev config --omit-containers=db --docroot public
- Run
ddev add-on get https://github.com/penyaskito/ddev-hugo
(orddev get https://github.com/penyaskito/ddev-hugo
if your version of DDEV is older than 1.23.5) - Run
ddev exec hugo
- Run
ddev launch
Contributed and maintained by @penyaskito