Skip to content


Repository files navigation

Home page Corentin Dupont

This is the source code for my website, The web site is built with Hakyll, a tool to generate static web sites backed-up on Git (and no database).

It also demonstrates some nice technologies:


Install stack, R and cairo:

$ curl -sSL | sh
$ sudo apt-get install r-base
$ sudo apt-get install libghc-gtk-dev

Install and view this website:

$ git clone --recursive
$ cd CorentinDupont-Webpage
$ stack install
$ site build
$ site watch


The website is running on an AWS VM. The following command will upload the website:

rsync -avh  _site/* ec2-user@

On the VM, it is served by nginx. Config file is under /etc/nginx/conf.d/default.config. The certificates are renewed by a crontab in /etc/cron.d/certbot. If the VM is restarted from scratch, is should reconfigure using the VM user data startup script.