Creating a Blog with Hugo and Github in 10 minutes

preview_player
Показать описание
Today, we will create a deploy a Hugo blog on Github in just 10 minutes!

Notes for commands can be seen here:
Рекомендации по теме
Комментарии
Автор

I got an error message when I first attempted the `git submodule` step at 07:59. The issue was that Hugo had already created a `public` directory for me. I deleted `public` before running the `git submodule` code and everything worked perfectly. Also, Github didn't publish my site instantly like it did for Ryan. I had to wait about 2 minutes before it loaded. But it did load and it looks fantastic. Hope this helps someone. Great video Ryan!

jeremiahstephan
Автор

This tutorial is very well done. Everything that Ryan says is straight to the point. It's about the needed information - no show-off

ukkir
Автор

Nice to see you back on youtube my man, I always benefit from your videos

sunnilabeouf
Автор

Took me a few hours (you go very fast) but got there in the end. Thank you.

matthewrowe
Автор

This was a terrific video. I understand enough about the Hugo Way (and git) now to follow everything, even though it went quickly. I hope you will do more Hugo stuff because it is awesome.

DarrenAddy
Автор

Thanks! I have just followed the process and my blog is live :D It took a bit longer than 10 minutes (Updating homebrew, automating the github pages update with github actions), but a fun journey! Keep up the good content.

natenatters
Автор

past two weeks I'm struggling to publish my Hugo site . your video helps me a lot

nareshmarri
Автор

Amazing video. Explains all the parts I was struggling with and gives me some good tips!

D-Dev
Автор

I have seen different ways of doing this, but the simplicity of yours is beautiful. Thanks

carlescortescosta
Автор

You might need to run hugo server -D if your posts are not appearing because they are set as drafts.

ryanslab
Автор

Does anyone know what terminal that is, or what's installed to add that functionality? It's very useful compared to default Terminal in Mac!

a_reallygoodusername
Автор

Nice. That is actually a great way to get around the limitation of Github pages requiring a public repo. I can keep my drafts etc private now. Another option is syncing the public dir with something like copybara.

hellowill
Автор

i really love the clacking of the mechanical keyboard. it makes me feel like i'm in the room with you

twopercentohgee
Автор

Just ran into your channel by typing in hugo tutorial. Not sure if your channel is geared towards beginners or people with coding experience. Great tutorial, love the straightforward, no nonsense approach. My one criticism is it was hard to follow which folder you were typing your commands in with all the cd commands. I think it would be beneficial for you to slow down and reiterate which folder you're in first. I was lost for a bit because I tried to push origin in my public folder but it said it was not a git repo.

HeiSo
Автор

Your tutorial is AWESOME! & directly to the point. I followed all the steps except creating two repositories, one where the actual content lives, and one for deployment. I didn't get it why we need 2 different repositories? Speaking of myself, I've created a single repository for the whole process, I found that this is more organized & less error-prone than 2 repositories approach for me.

abdonasr
Автор

thanks for the tutorial, Ryan! just wondering if there are benefits to not also pushing the contents from 'thesimplengineerblog' up to blog repo, to serve as a source control for the raw source code change instead of just having the public repo changelog?

pitchgoesplaces
Автор

Thanks! Been looking for a git module solution with hugo for months!

davidjnevin
Автор

This was awesome. This channel should be FAR more popular. And I think it soon will be.

herrwolken
Автор

I tried with the paper theme, but when I deploy the public files github only renders a plain HTML of my project. Any idea what I could have done wrong?

EDIT: figured it out

Messing with the URLs is confusing, you gotta make sure the URL in the config file matches the URL in the generated github page, and any build happens after the changes are saved. Using two repos with similar names, and following a terminal that has a similar name to one of the repos is also confusing. Also, Git is confusing. All that being said, thank you for your tutorial, it was the only one that got it working for me, even if it took me a couple of hours to make it happen.

I am not a very educated person, so I still struggle a lot with these things. However, I would love if in future videos you could find a way to make things more easy to differentiate and avoid confusions for others like me. If not, that is okay too, it is your way of sharing things afterall.

Thank you and have a good day.

schumnn
Автор

Why does 404 not found appear after entering the URL given by hugo server?

dnybfzt