<!DOCTYPE HTML>

Questions

Installation Hack It is fundamental that you learn how to make your own blogging Website and make sure you begin your understanding of the following.
1. Take note and describe the type of shell commands that you are using through Terminal in this installation procedure. wsl, cd, git, apt, brew, …
2. In the Development process, developers use Version control. Annotate in notes what you have learned about Version Control while doing this setup process.
3. Where are the files from GitHub placed on your local machine. How do you navigate to those files.
4. Where are the files placed in the GitHub Cloud, how do you navigate to those files.
5. How would you update your Template or Fork of student repository if teacher wanted you to pick up an update? Put into words the difference between viewing GitHub Pages running on localhost machine versus running on a deployed server.
6. What is the localhost URL for your distribution? Can anyone else see it?
7. What is the GitHub Pages URL for your distribution? Can anyone else see it?
8. DNS is the address manager for the internet. Put into your own words how you changed the domain name of your student repository. Did you change the address?




Responses

Shell Commands Used in Installation Procedure:
1. wsl: Windows Subsystem for Linux command, which lets you run a Linux distribution on Windows. cd: Stands for "change directory". It is used to navigate between folders. git: It is a distributed version control system. Various commands such as git clone, git pull, and git push allow for interactions with repositories. apt: A package manager used in Debian-based Linux distributions for installing and managing software. brew: A package manager for macOS (and also available on Linux) that installs software packages. Version Control:
2. Version control is a system that records changes to files over time so that specific versions can be recalled later.
3. Files from GitHub are placed in the directory where you run the git clone command. To navigate to these files, you can use the cd command followed by the repository's name. GitHub Files in the Cloud:
4. The files are stored in repositories on GitHub's servers. You navigate to those files by visiting the specific repository URL on GitHub, which usually follows the pattern https://github.com/username/repository-name. Updating a Template or Fork:
5. If the teacher updates the original repository and I want to get those updates in my forked repository, I'd use the git pull command to fetch and merge changes from the upstream repository. The difference between viewing GitHub Pages on a localhost and a deployed server is that on localhost, it's only accessible to me on my machine, whereas on a deployed server (like GitHub Pages), it's accessible to anyone with the URL. Localhost URL:
6. The localhost URL for my distribution is typically http://localhost:PORT/ (with PORT being the specific port number). Only I can see it when running on my machine. GitHub Pages URL:
7. The GitHub Pages URL for my distribution would be https://username.github.io/repository-name/. Anyone with the URL can view it. Changing Domain Name of Repository:
8. To change the domain name of my student repository, I navigated to the repository settings on GitHub and used the "Custom domain" option. By inputting my custom domain and ensuring my DNS settings were correctly pointing to GitHub Pages, I was able to assign a personalized URL to my repository. I essentially changed the address, allowing users to access my repository using that custom domain instead of the default GitHub Pages URL.