I wanted a fresh resume. My previous where total and utter garbage in regards to formatting and readability, so it was time for a new one. I was also getting sick of editing my resume page and forgetting to update my PDF resume, and vise versa, I needed a way to edit once and update both my resume page on my website and my resume PDF.
Only 2 requirements had to be fulfiled:
- the generated PDF had to be readable and clean
- there had to be an option to generate from markdown
I stumbled upon a python tool called grip which can generate a
.html page from a markdown file and I also knew of a tool to generate a
.html named wkhtmltopdf. So my first idea was to somehow use these two to generate a PDF but I ran into too many issues and decided to persue another route.
To sum up the general workflow of adding and editing my resume
git pushlocally edited page to my github resume repo
- travis ci is set up to watch the repo and on a commit execute the build details in
.tavis.yamlin the root of the project
- travis adds the header and footer as well as the download button needed for the page to be full
- travis generates the
Just as my last post, everything is open and can be found on my github, along with the basic understanding of how everything works which is explained in this post you should have no problem 1:1 copying and modifying to fit your needs.
Unlike the last part, the AWS setup requires the least work and explanation since it just hooks into the previous AWS setup.
I was in the process conteineratzing various services at my job, so why not conteinerize markdown-resume while at it. After all, practice makes perfect :) But it was easier said then done… markdown-resume is in PHP and I had some formating problems in the resulting PDF. It’s been years since I touched PHP to be able to fix it my self, luckily someone helped me with my issue. The final Dockerfiles can be found in my fork of the project which includes the fixes described above.
Update: markdown-resume now have their own Dockerfile, so I am using that now.
It is so relaxing to be able to edit once and update both my resume PDF and my resume page. The next step is to update my Linkedin profile via api 🤔