You’re welcome. Couple of hints: Start with one of the themes from https://github.com/spf13/hugoThemes or the https://github.com/spf13/HugoBasicExample. Work from there. If you’re just building a site, that should give you a great start. If you’re working on your own layout or theme, bookmark http://gohugo.io/templates/overview/ and ask questions here when you get stuck. Hugo is worth the time spent, plus your questions can help the next person who comes along.
I’m have major issues with running Hugo
I downloaded the win 64 version renamed the exec to hugo.exe.
I also downloaded the source and found a tutorial in there and created the base file structure from it and placed the exec in hugo\bin. Ran hugo help and get; bash: hugo: command not found.
I created a path in the system variables and get the same error. I put hugo.exe in windows system32 folder an still get the same response. Have read all the available docs and tried all suggestions in this forum to no avail.
I have the hugo folder in my F:\ dev server www\hugo. I moved hugo to my C: drive and that did not work either. I rebooted and that did not help. What am I missing here?
You need to put it in your path.
Open command
run
echo %PATH%
make sure Hugo is in one of the directories listed after running that command
Thanks for the quick reply. Paths in Window can be a daunting experience.
Sometimes the simple things slip by when your in deep like not closing the cmd after making changes. Closed the cmd opened it again and good to go. If ya makin mistake ya ain’t doin nuthin.
I really appreciate your time and help.
Geo,
It sounds like you need to add C:\Hugo
to your PATH. See this thread on superuser.com for help on doing that. If all of that sounds foreign to you, see Wikipedia. If you have any other questions, let us know.
@geo,
you’re not the first one that encoutered that obstacle at the beninning. Here you can find a description why you need to use the PATH environment variable.
Once you understand the concept behind it (unless you have not so far) it should be easy to fix with the links @moorereason provided.
However, could you give us feedback which part of the installation instructions for Windows in the documentation should be more precisely? This could help us to improve the docs.
Hi
After migrate Wordpress to hugo. Hugo make it HTML pages? Because I cannt install it cpanel web hosting.Want run Windows then get html and css upload it web server.it works like this way?
Thank you
Yes, static HTML pages.