Easy instructions to setup a new account and prepare GitHub the right way to allow a small website at ( yoursite.github.io )
This does NOT walk you through the creating or coding of a website but rather prepares your github account the right way to let you host either a JS based website or static HTML.
Files hosted on the free version of GitHub ARE NOT PRIVATE!!!
Your only goal is to create a place online for people to view your content / images / website. Do not store personal information on GitHub
- Visit: https://github.com/join
- Create username, choose one that would be ok as heading ur url for your
- For example username "LoopyCookies" will become
- Choose: Unlimited public repositories for free and hit continue
- Skip the "Tailor Experience Step" for now
- Choose "Start A Project"
- Verify Email address and return to website after complete
- you should be presented with a "Create New Repository" type screen.
- You will see two fields, "Owner" which will contain your username, followed by a / (slash) followed by the field labeled "Repository Name".
- In that second field, type your_username.github.io
- For example with my username I would type loopycookies.github.io
- Set the option to be "public"
- Set the option for "Initialize this repository with README."
- Hit "Create repository"
- You will be taken to a largish screen that has a lot of buttons and information. On top in blue will be your
loopycookies / loopycookies.github.io
Look down and to the right ad in the area where there is a green "Clone Or Download" button.
- To the left of that button there are 3 buttons, "Create new file", "Upload File", "Find File"
- Choose "Create new file"
- Type in the edit area, "Hello There"
- Just above, where it says, "Name Your File", enter index.html.
- now scroll down to bottom, where it says, "Commit new file"
- in first line just enter some text like, "adding new file"
- Make sure "Commit directly to the master branch" is chosen, and hit
"Commit new file"
- Vist your site in a new browser window and type in:
https://loopycookies.github.io/ (using your usnername instead)
- You should see "Hello There" in the browser.
- Your site has is now live, and that index.html file represents the landing page of your website and you can now edit this html file, add to it, add more files, etc.
What To Do Next?From here what I'd recommend is download github desktop and setup a folder on your desktop where you would store and work on files from your local machine. GitHub Desktop then allows you to sync files and content back and forth. This way you can avoid the clunky online GitHub interface except when absolutely necessary.
With this folder and GitHub desktop setup, anything you dump in that folder will be synced online.
Keep in Mind, files hosted on GitHub ARE NOT PRIVATE!!!