2026.camp.public.website/README.md
Hadrien 564a22abb2
Some checks failed
/ build (push) Failing after 5m47s
manual ci script + no cache for map updates
2026-07-03 23:33:48 +02:00

54 lines
1.6 KiB
Markdown

# Interhack Camp Website 2026
## How to deploy :
### 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.
```sh
bash update-guide.sh
```
### Build the Docker image
Please generate
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, download the map bundle, build and push to the registry:
```bash
wget -q -O dist.zip https://git.interhacker.space/epickiwi/2026.camp.carte/releases/download/latest/dist.zip
docker build -t git.interhacker.space/interhack/camp-website-2026:latest .
docker push git.interhacker.space/interhack/camp-website-2026:latest
rm -f dist.zip
```
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)