Steps to use this repo:
# store my address locally, don't want it public in GitHub
cd ~/.bash_startup
cat >>EOF > local
export RESUME_ADDRESS="Street<br>City/zip<br>Phone<br>"
<ctrl-d>
# imagemagick is used for thumbnails
brew install imagemagick
brew install tidy-html5
# Google Chrome is used for PDF generation (must be installed at the default path)
brew install --cask google-chrome
# enable the pre-commit hook
git config core.hooksPath hooks
- Edit
sef-kloninger-resume.html git commit— the pre-commit hook automatically regenerates and stages the PDFgit push
The PDF stays in sync automatically. If RESUME_ADDRESS is not set, the hook will
warn but still commit the main PDF.
make— regenerates all PDFs and the address-injected full HTML variantmake clean— removes generated filesmake tidy— runstidyon HTML filesmake thumbs— resizes PNG images to thumbnails
Then you can use these links to serve directly from GitHub: https://rawgithub.com/sefk/sef-resume/master/sef-kloninger-resume.html and https://rawgithub.com/sefk/sef-resume/master/sef-kloninger-resume.pdf.