From 239016555e0eca1b0c6652ae896f2a34726af93d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 21 Mar 2026 09:37:12 +0100 Subject: [PATCH] init --- .dockerignore | 2 ++ .gitignore | 2 ++ Dockerfile | 8 ++++++++ README.md | 24 ++++++++++++++++++++++++ config.yaml | 26 ++++++++++++++++++++++++++ docker-compose.yml | 6 ++++++ go.mod | 5 +++++ go.sum | 2 ++ 8 files changed, 75 insertions(+) create mode 100644 .dockerignore create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 config.yaml create mode 100644 docker-compose.yml create mode 100644 go.mod create mode 100644 go.sum diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..07d8bd1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +*lock +public/** \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90180ff --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.hugo_build.lock +public \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..325c0a0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM registry.odit.services/hub/hugomods/hugo:exts-0.145.0 AS build +WORKDIR /app + +COPY . /app/ +RUN hugo + +FROM registry.odit.services/hub/hugomods/hugo:nginx +COPY --from=build /app/public /site \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ac89e8b --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# @niggl/kubecon26 + +My experiences at Cloud Native Rejekts and KubeCon + CloudNativeCon Europe 2026 in Amsterdam. + +## Quickstart 🐳 + +> Use this to run via docker. + +1. Clone the repo or copy the docker-compose.yml +2. Cd into the folder containing the docker-compose.yml +3. Run docker-compose: `docker-compose up -d` +4. Visit to check if the server is running + +## Dev Setup 🛠 + +> Local dev setup for previewing changes. + +1. Clone the repo +2. Install Hugo: `brew install hugo` or `winget install hugo.hugo.extended` +3. Start the dev server: `hugo server --buildDrafts --disableFastRender` + +### Recommended Editor + +[Visual Studio Code](https://code.visualstudio.com/) diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..d844c4a --- /dev/null +++ b/config.yaml @@ -0,0 +1,26 @@ +baseURL: "https://kubecon25.nicolai-ort.com" +title: "Rejekts2026 and KubeCon EU 2026" + + +module: + imports: + - path: github.com/McShelby/hugo-theme-relearn + +params: + themeVariant: + - relearn-dark + - relearn-light + - neon + +menu: + shortcuts: + - name: Tags + url: tags/ + weight: 10 + - identifier: ds + name: Imprint + url: https://nicolai-ort.com/imprint + weight: 11 + - name: Privacy + url: https://nicolai-ort.com/privacy + weight: 12 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..54be4fa --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +version: "3.3" +services: + httpd: + build: . + ports: + - 8080:80 \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a43a644 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.odit.services/niggl/kubecon26 + +go 1.23.4 + +require github.com/McShelby/hugo-theme-relearn v0.0.0-20250325072754-6e26088dc2f0 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..f61e714 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/McShelby/hugo-theme-relearn v0.0.0-20250325072754-6e26088dc2f0 h1:p4oRBsNAoE7j5hHZgJfqsWdhghg1u1Y6WtsRVpPsv/Y= +github.com/McShelby/hugo-theme-relearn v0.0.0-20250325072754-6e26088dc2f0/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM=