Source code of my blog https://blog.dharnitski.com/
For MacOS:
brew install ruby
update .zshrc
- export PATH=/usr/local/Cellar/ruby/3.0.0_1/bin:$PATH
restart terminal
gem install bundler
bundler install
Script to start blog with debug info and unpublished posts:
bundle exec jekyll serve --verbose --trace --drafts --future
Open link in Browser:
http://127.0.0.1:4000/
docker run -p 4000:4000 -v $(pwd):/site bretfisher/jekyll-serve