Qasar Younis

Testing Instructions

Testing Instructions

Quick Start

To test your Jekyll site locally, run the jrun script:

./jrun

This will start the Jekyll development server with Docker.

If jrun Doesn’t Work

If the script doesn’t work, you can run the Docker command directly:

docker run --rm \
  -v "$PWD":/srv/jekyll \
  -p 4000:4000 \
  jekyll/jekyll:pages \
  sh -c "apk add --no-cache build-base && bundle install && bundle exec jekyll serve --watch --drafts --force_polling --host 0.0.0.0"

What This Does

Viewing Your Site

Once the server starts, open your browser and navigate to:

http://localhost:4000

Making Changes

Stopping the Server

Press Ctrl + C in the terminal to stop the Jekyll server.

Troubleshooting

Issue: “docker: command not found”

Issue: Port 4000 already in use

Issue: Changes not showing