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

How to customize and deploy locally #6

Open
wencai-chinese opened this issue Dec 6, 2023 · 0 comments
Open

How to customize and deploy locally #6

wencai-chinese opened this issue Dec 6, 2023 · 0 comments

Comments

@wencai-chinese
Copy link

Since your instructions differ significantly from the Hugo quick start guide, I am having problems customizing and deploying the site on my local server.

What works on the exampleSite is not reproducible on my own site.

Netlify blocks all new non-Pro accounts from signing up or logging in because of validation issues. So I am unable to try out the "quick way" either.

Here's what I did:

hugo new site wencai.io
Congratulations! Your new Hugo site was created in /home/sati/wencai/wencai.io.
cd wencai.io
git init
git submodule add https://github.com/heksagonnet/piko.git themes/piko

What next?

I see these files and folders in your exampleSite.

config.yml  content  netlify.toml  resources  static

which has some files and folders that are congruous to what I have on my project root:

archetypes  assets  content  data  hugo.toml  i18n  layouts  static  themes

When I replaced hugo.toml with config.yml, I get this:

image

This is as far as I can get, after hours of trial and error. Not sure what I need to do next. Copying content, resources etc. over from exampleSite to the root, replacing the original directories is a messy disaster.

Ideally, the documentation on README.md should guide us step by step to a stage equivalent to the Netlify deployment, where we are able to customize the site for our own needs.

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

No branches or pull requests

0 participants