It should be as easy as (you might need to use sudo):
- (Optionally: execute
bundle config path 'vendor/bundle'
to install gems locally) bundle install
bundle exec jekyll serve
- go to http://127.0.0.1:4000/
Using Docker:
docker run --rm --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" --env JEKYLL_ENV=development -p 4000:4000 jekyll/jekyll:4 jekyll serve