Skip to content

ShuaishuaiYuan/ShuaishuaiYuan.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuaishuai's Personal Website

Power by jekyll and minimal-mistakes theme.

Development

rbenv

See https://stackoverflow.com/a/66379795/1035008 for details.

Check whether rbenv has been installed:

which rbenv

If haven't installed, install rbenv to manage ruby environment:

brew update
brew install rbenv

Install ruby version 3.1.0

rbenv install -l # check available versions
rbenv install 3.1.0
rbenv global 3.1.0

Add to .zshrc:

eval "$(rbenv init -)"

Build and Run

Install bundle packages:

% gem update bundler ??
bundle update
bundle install

Build and run site locally:

bundle exec jekyll serve