Congratulations on finishing your CMSC320 final project. In this article, we’re going to walk you through the very last step of your project…publication to the internet!
GitHub is a free provider of internet hosting for software development and version control. They provide a service called Pages that provides website hosting backed by a GitHub-based git repository. We would like you to host your final project on a GitHub Pages project site.
Tutorial
-
Download your Google Colab file and convert it from a file with a
.ipynbextention to a.htmlfile
- Make sure you download the .ipynb file after running the code within your cells so that it contains the output of your code.
- This link is a online resource that can be used for converting files from
.ipynbto.htmlformat
-
Create a Github repository for your project and title it
username.github.io.- Make sure username is the same as whatever you chose for your global GitHub account.
-
Add the following files to your repository:
- iPython Notebook → This should be your project Colab file with the
.ipynbfile extention - HTML → This should be named
index.htmland is the converted version of your Colab file
- iPython Notebook → This should be your project Colab file with the
-
You should now have a github repository that looks like the following:

-
Deploy your website by navigating to Pages in the settings of your project repository and checking off the following settings:
- Source: Deploy from a branch
- Branch: main
-
Your settings should look like the following if you’ve successfully deployed your site:

- Your site might not immediately be deployed. Allow for some time for your repository changes to sync.
-
Check if your website works and is formatted correctly by visiting
username.github.ioin your internet browser.
-
The deliverable to the CMSC320 staff will then be the single URL
username.github.iopointing to this publicly-hosted GitHub Pages-backed website.
-
Troubleshooting and FAQs
Q: Why do I get the error “This site can’t be reached” when I visit my site username.github.io?
A: In previous semesters, students have had issues with UMD’s wifi eduroam blocking their site. Students have been suggested to try the following:
- First, check that the site loads while on a different wifi network. Submissions will be graded off-campus.
- If the error persists on different wifi networks, students should try to deploy the site again in a new repository (following the same steps of the project publication tutorial) using non-campus wifi.
- Email the CMSC320 staff at cmsc320gradingissues.dr.fardina@gmail.com a copy of your
index.htmlfile before the submission deadline as a backup if you still are encountering issues with your website.