From Repo to Website
Now on GitHub, our work's accessible! Yet, our Quarto HTML report isn't readable yet.
Currently, people can only view its text version. Let's explore how GitHub can transform it into a mini website, accessible through a URL.
The problem 😢
If you've diligently followed the previous lessons of this course, you should have a folder named productive-r-workflow
on your computer.
Inside this folder, there's an R
directory containing an analysis.qmd
file that generates a visually appealing HTML report named analysis.html
.
Additionally, this folder has been duplicated on GitHub. I've also followed the lessons, and my repository is thus accessible at the following URL:
https://github.com/holtzy/productive-r-workflow
Your URL should be very similar: just replace holtzy
with your Github handle!
It looks like this:
Overview of my penguin
work accessible through its github repository
This is pretty cool already.
You can also check all the files in the folder. Click on the R
folder → click on analysis.html
→ you're now seeing the content of the file.
This is how the analysis.html
file looks on Github. Unreadable!
However, that's quite disappointing for the reader!
Only web browsers, such as Firefox or Chrome, have the ability to transform this jumble of content into a visually appealing, colored, and formatted website. 😢
The solution 🚀
Github allows to transform a repository in a website!
This lesson is for members only! 😔
Become a member now to access the full course with a lifetime access!
Or Login