2026.camp.public.website/README.md
2025-12-18 17:02:38 +01:00

44 lines
No EOL
1.4 KiB
Markdown

# Interhack Camp Website 2026
## Build the Docker image
We use Docker for deploying on the Interhack infra. Until we have a proper CI, we need to build manually.
On Debian-based Linux distros, you can install the following package:
```bash
sudo apt install podman-docker
```
Otherwise, you can check-out [Docker install doc](https://docs.docker.com/engine/install/).
First, login to the Docker registry:
```bash
docker login git.interhacker.space
```
Then, build and push to the registry:
```bash
docker build -t git.interhacker.space/interhack/camp-website-2026:latest .
docker push git.interhacker.space/interhack/camp-website-2026:latest
```
The pull process is triggered every five minutes.
So you may wait at least this amount of time before the website is up-to-date!
(and Ctrl + Shift + R is useful to nuke cache)
## generate statuses PDF
Statuses are stored in [this online pad](https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw).
PDF can be generated thanks to `pandoc` and the good old `curl` this way:
```sh
curl -s https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw/download | pandoc -V geometry:margin=3cm -o assets/Camp-Interhack_Statuts.pdf
```
## Generation de la page Guide.
La page Guide est générée depuis un Hedgedocs, en markdown, via le fichier update-guide.sh qui utilise le fichier guide.template.html. Le contenu de la page est donc un HTML basique in fine.