A good reference for using GitHub is: Let's Git started
You will find chapters: 4, 12, 15 and 16 essential for getting started.
- Create a new repository on GitHub named “username.github.io”. For me: “paulmbeaumont.github.io”
- From top menu, choose: Setting -> Pages and set Branch: main /(root)
- Click the green “Code” button and copy link.
- Open a new “Project” in RStudio” with the same name as your repository. Put this folder some place where you would like to keep it long-term.
- Download the “GitHubProjectPage” folder from the Canvas page and drag those files into your project folder. Note that the file extensions are: "index.md" etc. ".md" files are GitHub friendly and can be rendered in readable form on GitHub.
- Commit and Push to make sure that your GitHub repository is updated.
- Now you can edit your RStudio project files to personalize your GitHub page. Make sure to Commit and Push changes fairly often.
- Create a repository on GitHub with an appropriate name.
- Link the repository to an RStudio Project.
- Edit files in your RStudio project and make sure to name your “main” file as “index.Rmd”. Knit the file to produce "index.html".
- Push & Commit your edits often.
- In your RStudio Projects page, edit the “projects.md” file to add the project links to your new project.
- Commit & Push
- Make sure that your new project shows up on your Projects web page and the links work.