Skip to content

maoudia/www.maoudia.com

Repository files navigation


Moncef AOUDIA's website

This repo contains the source code of the maoudia.com website. It is built using Hugo + Billeberry theme and hosted on CloudFlare Pages + GitHub Pages.

Requirements

  1. Hugo (0.100.x)

  2. Ruby (2.7.x)

  3. NodeJS (16.15.x)

  4. Asciidoctor with required extensions:

gem install asciidoctor asciidoctor-html5s asciidoctor-rouge
Note
To manually upload index.json content to Algolia search index, see Billeberry Algolia-Search.

Editing

git clone https://github.com/maoudia/www.maoudia.com.git
git submodule update --init --recursive
Update submodules from remote
git submodule update --recursive --remote

Launch a local Hugo server including live reload:

Development
hugo server --debug --buildDrafts --buildExpired --buildFuture  --templateMetrics --templateMetricsHints --verbose
Build PWA service worker
npm install && cd scripts && ./sw.sh
Generate SRI
openssl dgst -sha384 -binary path/to/your/file | openssl base64 -A
Please use Unix `LF` line breaks on targeted file to avoid finger-printing issues.

Deployment

Deployment to CloudFlare/GitHub pages happens automatically upon pushing the main branch.