A New Hugo Site in Under 2 Minutes

95 ratings | 130323 views


A New Hugo Site in Under 2 Minutes

A quick overview of how to go from a an empty folder to a simple web site using Hugo, the static site generator. Hugo - Udemy course on Hugo -

Comments to the video: A New Hugo Site in Under 2 Minutes

ben l 6 months ago
It doesn't work!!
Helen C Rosero P 7 months ago
Hey, Dan Hersam, thank you for this tutorial, I have found your course about this I must tell you that I'm a beginner (html and CSS) so it would be pretty easy to me? In this course, you explain what's tools I should download because I use the normal cmd (cli) for Windows and the free sublime test or tex, even I have installed hugo on my machine ;)
Helen C Rosero P 7 months ago
Thank you Dan Hersam, I'm very lucky because today I found an angel who did the correctly PATH on my windows system so my HUGO is running it says things like Hugo is the main.bla bla . My last question to make a decision about to do your excellent course because I have heard that it is great from another people on the web is the fact that I'm using the old cmd not your cmder or gitbash because I don't know why :( it just is working on the old cmd (C:windows/system32/cmd.exe) I have seen that you cmder is using another language (in your course? echo for example), I'm right or wrong? so..the languages from my cmd and your cmder is totally opposite? because I could confuse me.
Dan Hersam 7 months ago
Try hugo help :)
Helen C Rosero P 7 months ago
Dan Hersam :) it is possible having a consultancy by Skype to installing the Hugo because When I type help Hugo doesn't work and I think that it is for the PATH (it is not recognised) some advice? thank you.
Dan Hersam 7 months ago
I do expect students are familiar with HTML and CSS. But if you use Hugo templates, you could still create a site. But you may not understand everything I cover in the course. Using the Windows command prompt and Sublime Text are no problem at all.
Noan Mousy 8 months ago
Pro tips :  If you set the speed of the video to 0.25× it’s now a new video « A New Hugo Site in Under 8 minutes ».
Noah Nobody 10 months ago
Now that's a concise tutorial!
AbdElmomen عبدالمؤمن 1 year ago
2 minutes for the author of the library
Dan Hersam 1 year ago
AbdElmomen عبدالمؤمن I'm not the author. Just a user.
Raccoon 1 year ago
Literally, I blinked my eyes a few times and the video clip is finished. :O
Raccoon 1 year ago
Literally, I blinked my eyes a few times and the video clip is finished. :O
Stove Chan 2 years ago
That's great if you want it on localhost, but for 99 percent of the people out there they would like to have content on a $10/month CPanel hosting account at your common web host. So how does one get this running on an existing or new Cpanel typical web hosting account that 99 percent of people are interested in. No one wants to run a website of their own computer and leave it on 24 hours sucking up their ISP bandwidth. So do you have to get Hugo hosted on some special server that you pay for? or some free site that you sign up for? What if you want to control it yourself on a $10 typical hosting account, like how wordpress blogs can easily be installed on any $5.00 or $10 hosting account easily available.
Stove Chan 1 year ago
but your web hosting account is not Git. i.e. versioning your web pages on your server. that has no git. have to upload via ftp
cat 1 year ago
+Stay Or Go you learn git.
Stove Chan 1 year ago
thanks for the info, so it's purely static in that you can't do anything on the server once it's uploaded? editing is done purely offline with no server side code? I thought for some reason it was a combined system of static generation plus server side, because I am so used to server side programs.  I remember developing a static site generator long ago if my memory serves me correct, so I think now I understand it more. Advantage: security. No one can break into a static site. What may become an issue is versioning?  you have to figure out which html files changed? (so not to reupload hundreds of files that haven't changed and stayed exactly the same, while a couple of files did change)
Dan Hersam 2 years ago
+Stay Or Go Once you have your site looking the way you want it on localhost, FTP the files in public up to any web server. There are no special requirements for servers, anything that works with Wordpress (even more actually, since they're just plain HTML files) is fine.
worthless 2 years ago
Dan, You FAILED to install golang, hugo, and correctly set environmental variables (THE MOST DIFFICULT PART). Man up, drop the misleading “Under 2 Minutes” bs from the title, be a hero. Clarity is a rarity. Love, Worthless XOXO
megalomania345 1 month ago
on arch like linux i just install hugo with: sudo pacman -S hugo DONE
James McManus 7 months ago
You don't need to install Go unless you're developing Hugo itself. Otherwise Hugo is just an executable file. Put it wherever it makes sense on your system. On Linux that's usually something like /usr/local/bin and you don't need any environment variables. On Windows you might want to change the PATH: Press the Windows key, start searching for 'environment' ('env' should be enough) and click on Edit System Environment Variables when it shows up in the list. From there it's obvious where to click. This part takes about 45 seconds, so you should still clock in under 2 minutes. :)
Dan Hersam 1 year ago
BrandNewByxor It's even easier on Linux (or OS X)
BrandNewByxor 1 year ago
.on windows only.
Sujith Abraham 1 year ago
+vipul srivastav set path=%PATH%;C:\Program Files\Hugo\; will add last location to your path
Sam Deacon 2 years ago
roll over wordpress, static sites are now made without a heavy php cms :) rise of the javascript machines
Ankush Menat 11 months ago
Sam Deacon WordPress will die soon. I hope some lightweight CMS running on python take its place.
Dan Hersam 2 years ago
I use Cmder for the terminal.
shine sunny 2 years ago
thanks to share it,i want to know you terminal use which software it's prrety