Problems loading to github

Hi, I’m trying to load my site to github 'cause I’m having problems with menus and wanted to share the source with the forum - from the repository settings I have:

Your site is published at https://david-j-m.github.io/rfp/

but when I try to view this url I get a 404 - page not found

on my localhost for this website I receive:

I followed the giraffe academy video: https://www.youtube.com/watch?v=fqFjuX4VZmU

which is for loading a Jekyll site - I assumed that Hugo would be the same procedure.

Please can you tell me where I’ve gone wrong.

Just a thought/question does the folder name of my site in Hugo have to be the same as the repository name on github, cause I opened a different repository name on GitHub
Thanks
David

If you only need to share your code all you have to do is create a new empty repository from github.com. From there as your repo is empty its landing page will be a super clear documentation on how you can push your local code to it. Follow the instructions and you should have your code up in the hub in no time.

Reading the text above it seems to me you are trying to create a github page website…

Thanks Regis, yes I just want to load the code, not create a github website.
I’m new to all this so don’t know my options or what I need to load. Do I upload all all files and folders within the website root folder? When it’s loaded will I have a GitHub url for the site? Does the repository have to have the same name as the folder I’m uploading?
Thanks for your help
David

Do I upload all all files and folders within the website root folder?

Yes

When it’s loaded will I have a GitHub url for the site?

Not for the site, but for the repo which only contains your source code.

Does the repository have to have the same name as the folder I’m uploading?

Nope, you will upload the content of the folder, not the folder itself.

GitHub, right after you created the repository from there will tell you what to do in order to move your code up there. It’s a series of terminal command line.

Hi David

Do You have Git installed on your computer?

I found some tutorial about how to host Hugo in GH on Youtube or article (Google translated)