PSY 504: Advanced Statistics
Open up R studio.
Choose File -> New Project
You should see a pop-up menu
Choose “New Directory”
I recommend learning to blog with quarto by opening and modifying the template files.
You can see all of the files in your project by clicking on the files tab:
To create a new post, copy an existing folder and name it something else
Clicking on “index.qmd” should open the file in the R studio text editor (on the left)
Give it a new name and delete the default text
Open up Github Desktop
Go to preferences and sign in to your Github.com account
“Add” your blog project folder to Github Desktop
Publish to github.com and uncheck private repository (if you want other people to see it.)
You should now be able to see your new repository in your github.com profile, which means you should be able to see a copy of your blog files in the repository.
_site
to docs
open up _quarto.yml
, and add the line output-dir: docs
just like this:project:
type: website
output-dir: docs
Should see a new docs folder
Push your changes to github so that your repository, and activate the github pages option under your repository settings.
_quarto.yml
Metadata
``` {project:} output-dir: _output
toc: true number-sections: true bibliography: references.bib
format: html: css: styles.css html-math-method: katex pdf: documentclass: report margin-left: 30mm margin-right: 30mm ```
{website:} sidebar:"doc" search: true
{website:} sidebar:"floating" search: true
floating
Get SSH key
Make new posts by copying an existing one.
Publish them by rendering the website on your computer, and pushing your changes to Github.com