First complete Git Exercise 1.
Then, experiment with writing GitHub markdown on the introDH-Hub Issues.
The goals of this assignment are:
Upon completion of this assignment you should feel confident about interacting on GitHub and working with files on your web repo. Our DIGIT courses require regular GitHub activity, so if you still feel uncertain on how to use Git or GitHub after completing this assignment please meet with an instructor. We will gladly assist you so you feel comfortable using GitHub on a regular basis.
To create a new repo, go to your GitHub profile on the web: Go to https://github.com and login, then find your personal profile.
Select the Repositories
tab, and click New
.
Give your repo a logical name (i.e. my_site), a brief description, and select
public
. During this course we ask you to keep this repo public so we can
view each other’s site development without everyone in the course having to be added
as a collaborator; however, you can switch this to private in the future.
Next, navigate on GitHub to your personal page repo, and follow our
tutorial steps to
add a collaborator. Add your instructor(s) to your repo: You can invite Dr. B as @ebeshero
. After the
completion of this course you can remove any unwanted collaborators; however, for
this assignment we want you to practice adding at least one collaborator. Also when
creating your own repo you may need to change the settings to include an issues
board; follow these help.github.com directions to do so if the Issues
tab is not automatically there.
Now, configure your repository to support a GitHub Pages website. To do this:
index.html
page and save it in the docs/
directory.
You can write this code directly in the web browser. Go to the Code tab of your repo and click the Add Filebutton. Then, create a docs directory and start your new file by typing in:
docs/index.html
. Start typing in a basic HTML page.
Choose a theme. Browse the themes and select one to use for your site.
Add Filebutton. Create a docs directory and a new Markdown file named index.md by typing in
docs/index.md
. Write some markdown to initiate your GitHub pages site.
docs/
directory and a new index file in it, you should now see the github.io website address where you can view the site with your Jekyll theme.
The site we configured for the introDH-Hub is published at https://newtfire.github.io/introDH-Hub/. Follow your link to see what your new site looks like!Welcome to the Git community! You have successfully completed the basic tasks of setting up a GitHub repository on your personal account and generating GitHub Pages! If you do not like the theme, you can change it in your repo’s settings. Or you can customize it, which we will work on later. For now, you are ready to submit Git Exercise 2 by going to Canvas, finding the appropriate Assignment link, and entering the URL (web address) for your new GitHub Pages site.