Submission Guide
Every week (except for the first week) an assignment is due Friday night (11:59pm). Your submission comes in two parts:
Canvas Submission
You will zip your entire project, including any libraries you used, and submit it to Canvas under the appropriate assignment. Name your zip file (where the bracketed items are to be substituted) "[FirstName]_[LastName]_Assignment_[#].zip" (e.g. "James_Iwamasa_Assignment_1.zip"). In the root of your zipped directory, there should be the following items:
- A folder that contains your main code/shaders/html/etc. (name this "src")
- Any number of folders for other libraries, etc. (call it "lib", etc.)
Please include the following information in your assignment content page (i.e asg0.html, etc.):
[student's name]
[student's ucsc email]
Notes to Grader:
[notes to grader]
Live Hosted Submission
You will be hosting a live submission on GitHub Pages. Here are the steps for setting up a repository to host your live submission.
Step 1: Create your GitHub account and the repository you want to host the page from.
Step 2: Go to the Settings
tab and select Pages
on the left sidebar.
Step 3: Under Build and deployment
, make sure Source is set to Deploy from a branch
and the branch is set to main
or whatever your preferred branch is. Leave the default root folder and click save.
Step 4: The page should have automatically refreshed. Go back to the main repo page and you should see a link under the Deployments
section on the right side.
Step 5: Click on the deployments link to get the URL for your live submission (it probably looks like <username>.github.io/<repo_name>
).
Step 6: The link you copy into Canvas should be the assignment content, not your index.html or other default page. For example, if your Assignment 0 is at www.website.com/asg0.html, Links to an external site.that is the page you should link.
TROUBLESHOOTING:
Check to make sure you have index.html
or another GitHub Pages entry source in the root directory of the repo.
Sometimes it may take a bit! Be patient and try again after a few minutes.
Help page on creating a site: https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
Links to an external site.