Giter Site home page Giter Site logo

cv's Introduction

Easy CV

Create a pdf CV based on some html templates and data from yaml.

Screenshot of the result: home

You can view the full pdf here.

Installation

  1. Install all python packages with
pip install poetry
poetry install
  1. Install wkhtmltopdf

Usage

1. Create your CVs

Copy input/sample_1.yaml and rename it to whatever you like. For example input/cv1.yaml.

2. Start Flask

Start the flask server from the root folder with:

poetry run python cv/index.py

3. Preview the result

Open http://localhost:5000/ to preview the result

You can also view any file (like cv1.yml) from the input folder with the url http://localhost:5000/v/cv1.

4. Create the pdf

To create the pdf for all yaml files inside the input/ folder run from the main path:

poetry run python cv/do_all.py

You should change the wkhtmltopdf path inside config.py and/or create_sample.sh.

Also you need to have flask running

Configuration

There are two files to input/sample_1.yaml and cv/config.yaml.

The first one (sample_1.yaml) has the actual content of the CV. The second (config.yaml) allow users to change some parts of the template.

If you want further configuration you can edit the templates (cv/templates/base.html and cv/templates/cv.html) directly or create your own templates (recommended).

Authors

License

The content of this repository is licensed under a MIT.

cv's People

Contributors

villoro avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

zhidonghe

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.