Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.34 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.34 KB

CV Generation Tool

Source data YAML files should go inside the source_data folder.

Outputs will be generated in the output folder:

  • CV-[Name].html
  • json folder

Tip

To save the HTML CV as a PDF, print it using Chrome and uncheck the header and footer options.

Setup

Important

You need Python and Poetry.

After cloning the repository, navigate to the project's folder and run:

poetry install

Usage

Options:

  • --html: Generate the CV in HTML format using the template.
  • --json: Generate JSON files with the CV data.
  • --full: Include optional details (e.g., driving license). Corresponds to fullCV in the HTML template.
  • --filename: Specify the name of the YAML file under source_data you want to process (leave blank to process all).
  • --lang: Specifies the language for the generated template (default is English)

Examples:

Generate the CV with HTML and JSON outputs:

cd cv_generator
poetry run python main.py --html --json [--full] [--filename cv-x.yml]

Build the example CV provided (cv-example.yml):

cd cv_generator
poetry run python main.py --html --full --filename cv-example.yml

Check the generated file: cv_generator/output/CV-John.html