Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for creating a new site #72

Closed
iangozer opened this issue May 31, 2024 · 2 comments
Closed

Documentation for creating a new site #72

iangozer opened this issue May 31, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@iangozer
Copy link

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

@razonyang
Copy link
Member

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

@razonyang razonyang added the documentation Improvements or additions to documentation label Jun 3, 2024
@razonyang
Copy link
Member

Done, https://docker.hugomods.com/docs/development/prerequisite/#hugo-site, thanks for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants