hugomods/docker

Documentation for creating a new site

Closed this issue · 2 comments

Not sure if I missed something but in following the documentation I get errors "Error: command error: Unable to locate config file or config directory. Perhaps you need to create a new site."

From what I have pieced together from other guides I needed to:
docker run --rm -v $(pwd):/src hugomods/hugo:exts hugo new site new_site --format yaml
sudo chown -R $USER: new_site
cd new_site

before creating the docker compose. Sure it would help others to know this (if correct) in the docs

Yeah, there isn't doc about creating site, will update doc later.