Uses the Jekyll-boostrap static site generator.
Instructions for adding a new post:
-
Add a new file in
_posts/<my-new-post>.md -
Organise the images in a directory.
-
(from this point refer to s3/s3_notes.txt) Activate/create a Python environment with Pillow and awscli
-
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 thes3-albumID you have in the.mdfile.
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