Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

SSoelvsten/overkill-cv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSoelvsten.github.io

Build and Deploy

As a researcher you will inevitably have to create a CV website. It seems like a universal law for all these websites, that they also have to be completely static and have no styling to speak off. Following up on this tradition, this website will be no different.

On the other hand, I definitely do not want to get close to the sheer horror of having to write HTML by hand. Being a former full-stack developer and a PhD student in the Logic and Semantics and Programming Languages group, the only honorable paths are even fewer. Hence this website is made the following way

  • The website is a React application purely written in the OCaml variant ReasonML.
    • Yes, the source code has pattern-matching, algebraic types, structs and absolutely no bugs in it anywhere!
  • A server-side rendering of the application is then replacing the root node for React in the HTML template.
  • The server-side rendering is automatically deployed to the main branch as a Github Action on each commit on the develop.

To support continuous integration, the main branch only contains the build files, while all the magic happens on this branch.

Dependencies

To install all dependencies on ReasonML and more, run the following command

cd react-src/ && npm install

Compile

To compile a new static version of the website just run make. This makes use of a python3 script.