Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 663 Bytes

File metadata and controls

32 lines (25 loc) · 663 Bytes

Static Portfolio Website Using Github Pages

Note

This is a work in progress.

Run Locally

Option 1 — Named Docker volume (gems managed by Docker):

docker run --rm -it \
  --platform linux/amd64 \
  -v "$PWD:/srv/jekyll" \
  -v jekyll-gems:/usr/local/bundle \
  -p 4000:4000 \
  jekyll/jekyll:latest \
  jekyll serve --watch

Option 2 — Local folder cache (gems visible in repo, ignored by git):

docker run --rm -it \
  --platform linux/amd64 \
  -v "$PWD:/srv/jekyll" \
  -v "$PWD/.jekyll-bundle:/usr/local/bundle" \
  -p 4000:4000 \
  jekyll/jekyll:latest \
  jekyll serve --watch

Open http://localhost:4000