CS 347: Webdev Blog
Each post that you write consists of the following:
- two or more paragraphs of your own text summarizing what you learned
- sample code relevant to the source material
- links or references to your sources
Add a link to each new post in your blog’s
index.html file. Make sure your instructor can see the links to all of your posts upon visiting
If an entry meets all the requirements, you will receive 2 points. If you meet some, you will receive 1 point. If your blog post is not visible on Friday, when your instructor reads through all posts, you will receive 0 points.
You are encouraged to write this blog and test it on your local machine and publish it to your web server when it’s ready. The remainder of this document describes how to set up a standard workflow for developing and deploying websites that uses Visual Studio Code, Git, and Apache.
Follow these directions to install Git or see if you already have it installed. Do not install GitHub Desktop. We only need the core Git, which is a set of command-line tools that we will run with the help of Visual Studio Code.
Create Local Repository
Follow these steps to set up a folder on your local machine in which you can construct, modify, and test your site without having to deal with an internet connection and a web server.
Your changes are now recorded to your local Git repository. Next we mirror those changes on a version of our repository hosted by a remote Git provider.
Create Remote Repository
Follow these steps to create a centralized version of your repository that you can access from your local machine and from your webserver.
Clone on Droplet
Follow these steps to pull the centralized version of your repository down onto your droplet.
Follow these steps to share the working directory of this new clone with the world via the Apache web server.
Many of the steps above are needed only for your initial one-time setup. Each week, follow this much simpler workflow: