Media and Web Development
ICOM-101-01 / MTEC-617-01
Week 6 ● Deployment
Slide 1
Slide 2
WORKING WITH GITHUB
The deployment part of this process is often a bit of a headache.
Github Pages and Google Domains is my preferred method of doing this, but if it's not your cup of tea feel free to research other hosting and domain options. There are many out there.
Github Pages and Google Domains is my preferred method of doing this, but if it's not your cup of tea feel free to research other hosting and domain options. There are many out there.
Slide 1
WHAT IS GITHUB
Git is a versioning system for keeping track of source code ( and many other things ). We create git repositiories on our computer and track changes to our code locally.
Github is a commerical platform that hosts git repositiories in the cloud. Github is primarily used as a collaboration tool, allowing many developers to share access to a single codebase.
Github is a commerical platform that hosts git repositiories in the cloud. Github is primarily used as a collaboration tool, allowing many developers to share access to a single codebase.
Slide 1
WHAT IS GITHUB
Although Git and Github are hugely useful tools in software development, we won't be going into great depth with them. Our focus is using the pages service of github to host our websites.
Slide 1
SETUP
GO TO GITHUB.COM AND CREATE YOUR ACCOUNT.
If you already have one you can skip this, just go sign in.
If you already have one you can skip this, just go sign in.
Slide 3
THEN GO TO DESKTOP.GITHUB.COM AND DOWNLOAD THE DESKTOP CLIENT FOR YOUR OS.
Git can be used via the command line (terminal) or from the desktop gui. If you prefer command line that's fine, but if you're new to this stuff the desktop client is probably the best bet.
Slide 1
From the github UI, make a new repositiory on your computer.
Slide 1
Name your repo whatever you want, and save it to the same directory you've been using for this course.
Slide 1
Copy all the code and assets from last weeks assignment into your new repo. The two folders should now be identical.
Slide 1
Once your code is copied over, you should see it reflected in the Github Desktop app. If you don't, you're copying code to the wrong place.
Slide 1
Add a message to the summary field and hit commit.
All your code will disapear from the app. This is a good thing. The code you see in the app represents the changes to your code since your last commit. We've just commited, so none of your code has changed since last commit.
Slide 1
Now that you're code is committed, hit the "Publsh Repository" button to send your code to Github.
Slide 1
Assignment #6
Deploy one of your projects to the web
● Extra credit : Purchase and link a custom domain