Github Account Preparation

To use NC State’s GitHub Enterprise, you must manually configure your account. You can use GitHub Enterprise to create a website!

Understanding how your account should be set up is important.  You should follow all the steps listed below to set up your account and have it prepared to host your website.

Manual Setup

  1. Navigate to github.ncsu.edu
  2. Login/sign up using your Unity credentials
  3. Click the green “New Repository” button
    • Name the repository “webpages” and give it a short description
    • Make sure it is marked as “Public”
    • Select the option for “Initialize this repository with a readme”
  4. Click “Create Repository”
  5. Click the “Settings” tab
    • Scroll down to “Github Pages”
    • Change source from “None” to “main” and hit save
    • Scroll back down to “Github Pages”, you should now see the URL your website will be visible at (when you add html files)
  6. Click the “Code” tab
  7. For any file you want to add to your webpage, click “Upload file” and choose the file to upload, saving will make the page immediately visible.
    • You must have a file called “index.html” on your webpage, even if it is blank, or the webpages will display the readme instead of your webpage

Once these steps have been completed, your webpage will be viewable at the following URL:

https://pages.github.ncsu.edu/unityID/webpages/filename.html
  • Where unityID is replaced with your unityID
  • Where webpages is the name of the repository
    • If you make more repositories, this would change
  • Where filename.html is the name of your HTML file
  • Please note all items are case sensitive.
Video Walkthrough of Setting Up GitHub Pages