A personal academic website built with Jekyll and hosted on GitHub Pages.
sudo apt update
sudo apt install ruby-full build-essentialgem install bundlerAdd Bundler to your PATH:
vim ~/.bashrcAdd the following line:
export PATH="$HOME/.local/share/gem/ruby/3.3.0/bin:$PATH"Apply the changes:
source ~/.bashrcSwitch to the domestic mirror for faster downloads:
gem sources -l
gem sources --remove https://rubygems.org/
gem sources --add https://gems.ruby-china.com/
gem sources -lConfigure Bundler mirror:
bundle config set mirror.https://rubygems.org https://gems.ruby-china.com/
bundle config set --local path ~/.gemgit clone https://github.com/mmistakes/mm-github-pages-starter.git
cd mm-github-pages-starterbundle installbundle exec jekyll serveOpen http://localhost:4000 in your browser to preview.
git remote set-url origin https://github.com/你的用户名/你的用户名.github.io.git
git push -u origin main- Based on Lvyizhuo/Lvyizhuo.github.io
- Built with Minimal Mistakes Jekyll theme