Host the website locally on port 4000:
docker-compose up
To setup github pages locally, refer to the official guide.
The main steps are:
- Install gems from
Gemfile.lock
:bundle install
- Install bundle webrick
bundle add webrick
- Build jekyll site:
bundle exec jekyll build
- Build and serve jekyll site on port 4000:
bundle exec jekyll serve