GitXplorerGitXplorer
b

thiscv

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
2068d193f71101d695316f7014f4017dd4c81676

Update README.md

bbencwallace committed 6 years ago
Unverified
21b70c9f48c5ca1ac1139cfaf09da9ed8926d0c6

change to readme

bbencwallace committed 6 years ago
Unverified
d02a287ce96e11e734eca70d1be5d3dd57f1dc47

changes to directory structure

bbencwallace committed 6 years ago
Unverified
6fe3193e1677e56ba52e7bc3d30da82be6ecca39

small change

bbencwallace committed 6 years ago
Unverified
de00f3aec4557bed714e450494fe2ec4ee9fd171

removed cv.html

bbencwallace committed 6 years ago
Unverified
68b782211a1ad91681680f39c0c985aac9c10829

small change

bbencwallace committed 6 years ago

README

The README file for this repository.

This CV

This CV is written in Handlebars.js

Why this CV?

This CV is generated using Handlebars.js, a Javascript templating system. Producing a CV / resume with such a system facilitates the management of multiple CVs that make use of the same data but may, for instance, differ in the following ways:

  • order of sections (e.g. two versions of a CV may differ in their ordering of the "Education" and "Experience" sections);
  • content of sections (e.g. two versions of a CV may differ in the extent of the work histories they contain);
  • global formatting of certain kinds of objects (e.g. dates and names); and
  • global style changes (via stylesheets).

The decision to use Handlebars.js rather than some other Javascript-based templating system was somewhat arbitrary. However, the decision to use Javascript rather than some other language was based on the ease of interoperability between Javascript and JSON.

Example

A sample CV was produced from the example.json data file.

Usage

Making a new CV

It's enough to just fill example.json with the appropriate data. For more extensive changes, you can modify template.html or the stylesheet as you see fit!

Compiling a CV

This can be done in the following two steps:

  1. Let Handlebars generate HTML output; and
  2. Convert HTML to desired format (e.g. PDF).

Generating HTML

Opening the HTML template file in a browser will typically not produce output due to the fact that client-side Javascript cannot access client files. One way to overcome this is to precompile.

Another approach, useful for making changes and quickly seeing the results, is to run a simple HTTP server. One of many way to do this is Python. With Python installed, navigate to the directory containing the desired HTML and run

python -m http.server

Then in the browser, navigate to localhost:8000 and open the template file.

Converting HTML to PDF

Probably the easiest way to do this is to print the HTML to PDF from a browser.