Skip to content

pauldmccarthy/pauldmccarthy.github.io

Repository files navigation

Small adventures (Paul's irregularly updated blog)

Uses the Jekyll-boostrap static site generator.

Instructions for adding a new post:

  1. Add a new file in _posts/<my-new-post>.md

  2. Organise the images in a directory.

  3. (from this point refer to s3/s3_notes.txt) Activate/create a Python environment with Pillow and awscli

  4. Run s3/s3_photo_upload.py, e.g.:

    python s3_photo_upload.py   \
      pauldmccarthy-github-io   \
      ./pictures/               \
      -d                        \
      -n <my-new-post>
    

    <my-new-post> must match the s3-album ID you have in the .md file.

To run locally from a fresh clone (assuming ruby and bundler are installed):

bundle init
bundle config set --local path 'vendor/bundle'
bundle add jekyll
bundle install
bundle exec jekyll build -d _site
bundle exec jekyll serve -w

To re-generate the resume files (assuming uv and pdflatex are installed):

cd resume
uv run ./render.py ./resume.yaml ./ html
uv run ./render.py ./resume.yaml ./ latex
pdflatex
TEXINPUTS=./resources: pdflatex ./resume.tex

About

A blog for trips and photos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 23