Building my Curriculum Vitae (CV)

Table of Contents

Last Update: 2024-09-18 22:10:45 -0300
PDF Version

1. Introduction

2. Prerequisites

  1. Bash installed (version 5 or superior).

  2. asciidoctor installed (for HTML generation).

  3. asciidoctor-pdf installed (for PDF generation).

  4. serve installed (via npm install -g serve).

  5. Other required tools: git, zip, rsync, and tree.

3. Downloading and extracting the source code

$ curl https://fabiobatoni.github.io/cv/source-code.zip -o fabiobatoni-cv.zip
$ unzip fabiobatoni-cv.zip
$ cd cv

4. Developing it locally

4.1. Building and viewing the generated files

$ ENVIRONMENT=development ./build
$ ./build serve

4.2. Stoping the local web server

$ ./build serve stop

5. Generating all the static formats (PDF)

$ ./build

Open en/index.html.

6. Building all the files for a specific language (pt-br as a sample)

$ ./en/build

7. Listing the generated files

$ ./build show-results

8. Generate all the files required to publish

$ ./build
$ ./build publish

9. Publish all the generated files to GitHub Pages

$ ./build
$ ./build publish-to-gh-pages

10. Deleting the generated files

$ ./build clean