This repository is used for hosting the GitHub page of the AIT Brainlab website.
This branch is version 2 of the site using HUGO https://gohugo.io
This project is built on Docker.
All you need to do is cloned this repository and then build an image using docker compose
docker compose up --build -dTo start a dev server, run
docker compose exec dev hugo server --bind 0.0.0.0 --poll 700ms --noHTTPCacheWith a new GitHub Action, the compile process is now done in GitHub.
It no longer requires the user to manually build the site themselves.
With this new action, all you have to do is commit a new change to the main branch.
However, you can still run the compiling command for debugging purposes.
docker compose exec dev hugoThe compiled /docs folder is ignored anyway.