1 Apr 2025
How to edit the blog
- How to setup the docker container
docker pull jekyll/builder
-
Have repo cloned and navigate to the folder
- Run the container pointing to the
docker container run --rm -p 4000:4000 -v .:/srv/jekyll -it jekyll/builder bash
- this will create the container mount the volume of the current directory to the container and open up a bash terminal to the container
- Now we can run our site in the container and be able to navigate to the site using the mapped port
jekyll serve --watch --livereload --force-polling
- http://localhost:4000/MainSite