Install VSCode
Install Homebrew (if not done before)
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
to install homebrewInstall ruby
brew install chruby ruby-install xz
ruby-install ruby 3.1.3
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
echo "chruby ruby-3.1.3" >> ~/.zshrc # run 'chruby' to see actual version
ruby -v
and see if there are errors. Should show ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) or a newer versionInstall jekyll
gem install jekyll
Setup Github Desktop
Run the website
bundle exec jekyll serve
localhost:4000
it probably worked.
localhost:4000
and the website should be there