Skip to content

VagrantPi/VagrantPi.github.io

Repository files navigation

VagrantPi's Blog

紀錄一些生活札記

Blog 使用 hyde 建置

Website: https://vagrantpi.github.io/

install dependency

brew install rbenv ruby-build

echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc

rbenv install 3.1.4
rbenv global 3.1.4

gem install --user-install bundler
bundle install

build

$ sh build.sh

serve in local

$ jekyll serve -H 0.0.0.0
Auto-regeneration: enabled for '/VagrantPi.github.io'
   Server address: http://0.0.0.0:4000/
 Server running... press ctrl-c to stop.

serve in local - with draft

$ jekyll serve -H 0.0.0.0 --drafts
Auto-regeneration: enabled for '/VagrantPi.github.io'
   Server address: http://0.0.0.0:4000/
 Server running... press ctrl-c to stop.

build 時可能遇到的問題

You have already activated public_suffix 5.0.1, but your Gemfile requires public_suffix 5.0.0. Prepending `bundle exec` to your command may solve this.

可以使用
bundle clean --force

使用 docker 環境

開發

docker run --rm \
  -v "$PWD:/srv/jekyll:Z" \
  -p 4000:4000 \
  jekyll/jekyll \
  jekyll serve

編譯

docker run --rm \
  -v "$PWD:/srv/jekyll:Z" \
  jekyll/jekyll \
  jekyll build

AI 優化 SEO prompt

掃描這篇文章,優化SEO的情況下幫我建立 SEO 夠好的 subtitle, description,請使用中文

About

Website: https://vagrantpi.github.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •