The lessons learned...coming soon.
With Docker (no local Ruby needed), from the repo folder in PowerShell:
docker run --rm -it -p 4000:4000 -e JEKYLL_ENV=local -v "${PWD}:/site" -w /site ruby:3.3 bash -c "bundle install && bundle exec jekyll serve --host 0.0.0.0 --force_polling --config _config.yml,_config.dev.yml"Then open http://localhost:4000 (Ctrl+C to stop). Add --drafts to also show posts in _drafts/.
_config.dev.ymlsetsurltohttp://localhost:4000; without it assets would point tohttp://0.0.0.0:4000and fail to load.JEKYLL_ENV=localpreventsjekyll servefrom overridingurl(it does so indevelopment) and keeps analytics/comments disabled (they load only inproduction).--force_pollingis needed to detect file changes on Windows-mounted volumes.
With a local Ruby install: bundle install then bundle exec jekyll serve.
Nothing to do, but push your changes on master branch.
Based on [Jekyll Bootstrap] (http://jekyllbootstrap.com) vs. 0.3.0.