Skip to content

Instantly share code, notes, and snippets.

@daytona1
Last active December 2, 2015 21:35
Show Gist options
  • Save daytona1/c983d6ce5739b95bee0b to your computer and use it in GitHub Desktop.
Save daytona1/c983d6ce5739b95bee0b to your computer and use it in GitHub Desktop.
Updating your class site & publishing

Updating Class Site & Publishing

Publish!

This explainer will give you step-by-step instructions for how to update and publish your class site to GitHub. It breaks this process down into four steps:

  1. What's going on here?
  2. Updating your class site
  3. Tracking changes to your class site using Git
  4. Pushing your changes to GitHub

1. What's going on here?

How it works

Let's just review what's happening here before we move on to the how-tos. Here's a break down of what we're doing:

  1. We are using HTML, CSS, and JavaScript to create a website on our home computers. We can open this in our browsers while we're editing the site, but it's only available on our computer (not on the Internet).
  2. We're using Git to track changes in the source code for our website. This allows us to have something similar to a "Save" for our website project. The website we're editing is being tracked as a Git repository.
  3. We're pushing our local Git repository up to GitHub. This makes the code public, and serves as a backup for our code base.
  4. We're taking advantage of a feature called GitHub Pages that allows you to publish a Git repository to GitHub's webservers.

So that's the gist of what we're doing here. Good to know.

2. Updating your class site

3. Tracking changes to your class site using Git

4. Pushing your changes to GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment