紀錄一些生活札記
Blog 使用 hyde 建置
Website: https://vagrantpi.github.io/
gem install bundler
bundle install
$ sh build.sh
$ 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.
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 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