GithubHelp home page GithubHelp logo

zeerg / dockerized-resume-builder Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 146 KB

A Dockerized resume builder with YAML

License: MIT License

Dockerfile 1.82% Makefile 1.20% Python 9.88% Shell 1.53% HTML 61.98% CSS 19.79% JavaScript 3.80%

dockerized-resume-builder's Introduction

Resume Builder

This was adapted from https://github.com/hanula/resume. I added Docker support, automation around rendering and publishing, and my own customizations to the theme/template engine.

Getting Started

Build image

Run make build to build the Docker container.

Resume

Copy resume/resume_scrubbed.yaml to resume/resume.yaml. You can change scripts/scrub.sh to change the scrubbing behavior - I use it to remove my phone number at the moment. Changes to resume/resume.yaml will get copied to resume/resume_scrubbed.yaml and then rendered.

Run make to render and copy the output to the docs folder. This folder is uploaded to GitHub where GitHub Pages will optionally serve the content (select the option to serve from /docs). If you are hosting this in GH Pages, edit docs/CNAME with your domain.

Commands

Build docker image: make build

Render, copy, publish the resume: make

Generate html: make html

Generate pdf: make pdf

Publish content: make publish

Scrub file: make scrub

Run Container: make run

From original readme

Python resume generator. From YAML to PDF and static HTML.

Example Themes

Installing

git clone https://github.com/hanula/resume
cd resume
pip install -r requirements.txt

Requirements

This script requires Python 3 and a set of libraries with their dependencies:

PyYAML
Jinja2
Markdown
WeasyPrint
docopt

Usage

  1. Look at resume examples in the resumes folder and create your own.
  2. Copy config.make.example to config.make and update it with your settings.
  3. Run make to build HTML and PDF files that will go to the build directory.

PDF generator

PDF is automatically generated along with html when running make. To just create PDF file:

make pdf

PDF file name in build directory is defined by pdf_file property in the config section of your resume yaml file.

Publishing

To publish html on your server via SSH, edit RSYNC_LOCATION in config.make and run:

make publish

Customizing

This repo contains a simple and a compact theme.

Add your own theme by creating themes/<your-theme> folder with index.jinja2 template file. Every other (non-jinja2) file from theme directory will be copied to final build/ destination.

You can control which theme is used by setting theme property in the resume's config section.

License

MIT License

dockerized-resume-builder's People

Contributors

iloveicedgreentea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.