This repository provides a template for creating a course reader or course notes using Quarto. To use it, follow these steps:
- Go to the Quarto website (https://quarto.org/) and download the installer for your operating system. Run the installer.
- Open your terminal or command prompt and type
quarto --version. If Quarto is installed correctly, you should see the version number.
- Download and install R from the Comprehensive R Archive Network (CRAN) (https://cran.r-project.org/).
- Follow the installation instructions for your operating system.
- To verify the installation, open an R terminal and type
R.version.string. You should see the R version information.
-
If you are using R, you'll need to install the following R packages. These can be installed from within an R session using the
install.packages()function:install.packages(c("ggplot2", "magick", "pdftools"))
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to store your course materials.
-
Use the following command to clone this repository:
git clone https://github.com/AnavSood/course-notes-template.git
-
To preview your course notes as a website, navigate to the cloned repository and use command:
quarto preview
-
This will start a local server and open your notes in your web browser. Quarto will automatically update the browser when you make changes to your
.qmdfiles.
-
Quarto generates static websites that can be deployed to any standard web server or hosting service.
-
The output files are located in the
_bookdirectory after you render your Quarto project. -
Common deployment options include:
- GitHub Pages: A free hosting service for GitHub repositories.
- Netlify: A platform for building, deploying, and hosting web applications.
- Posit Connect: A platform for publishing and sharing Quarto documents and applications.
- Any other static site hosting service.
-
Refer to the Quarto documentation for detailed deployment instructions: https://quarto.org/docs/publishing/