You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,10 +36,12 @@ Funnily enough, that doesn't change that the IP adress range of mine is **blackl
36
36
Actually running the server is as easy as getting the files, setting up the .env variables and running `docker compose up -d`.
37
37
38
38
::code-with-copy-button
39
+
39
40
```bash [get-docker-mailserver.sh]
40
41
wget "${DMS_GITHUB_URL}/compose.yaml"
41
42
wget "${DMS_GITHUB_URL}/mailserver.env"
42
43
```
44
+
43
45
::
44
46
45
47
Now your server should be running! Use `docker exec -ti <CONTAINER NAME> setup` to check out all the commands you'll need for adding users and stuff like that.
Copy file name to clipboardExpand all lines: content/blog/I finally switched to Linux.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: I finally switched to Linux!
3
3
description: The enshittification of Windows has gotten to a point where users are actively looking for alternatives now. I was -wanting- to make the switch to Linux for a long time, but just never mustered up the courage to daily drive it for long enough. Until now!
What was clear from the start, is that I wanted to use [Nuxt.js](https://nuxt.com/) (based on [Vue](https://vuejs.org)), since that's what I know best and prefer.
18
18
19
19
::code-with-copy-button
20
+
20
21
```vue [page.vue]
21
22
<script setup>
22
-
import { ref } from "vue";
23
-
const count = ref(0);
23
+
import { ref } from "vue";
24
+
const count = ref(0);
24
25
</script>
25
26
26
27
<template>
27
-
<button @click="count++">Count is: {{ count }}</button>
28
+
<button @click="count++">Count is: {{ count }}</button>
28
29
</template>
29
30
30
31
<style scoped>
31
-
button {
32
-
font-weight: bold;
33
-
}
32
+
button {
33
+
font-weight: bold;
34
+
}
34
35
</style>
35
36
```
37
+
36
38
::
37
39
38
40
I find single-file components to be pretty simple and easy to get behind. It's not the most popular framework, but it has a great community with great support for what matters to me:
@@ -60,6 +62,7 @@ The challenge is that Nuxt Content seemingly requires [SSR (Server Side Renderin
60
62
So here is the current pipeline for how my Website is deployed:
61
63
62
64
::code-with-copy-button
65
+
63
66
```yaml [workflow.yml]
64
67
jobs:
65
68
build-and-push:
@@ -80,11 +83,13 @@ jobs:
80
83
username: ${{ github.actor }}
81
84
password: ${{ secrets.GITHUB_TOKEN }}
82
85
```
86
+
83
87
::
84
88
85
89
We log into the container registry and checkout the codebase to get ready for building
86
90
87
91
::code-with-copy-button
92
+
88
93
```yaml [workflow.yml]
89
94
- name: Check for existing cache
90
95
id: cache-check
@@ -119,11 +124,13 @@ We log into the container registry and checkout the codebase to get ready for bu
119
124
restore-keys: |
120
125
${{ runner.os }}-buildx-
121
126
```
127
+
122
128
::
123
129
124
130
We want to cache the Docker layers to improve the time it takes to run this workflow, but also have to manage deleting this cache if it became invalid. Same goes for old package versions. GitHub keeps these around by default, but for a project like this, I don't want that. So I made the workflow delete them.
125
131
126
132
::code-with-copy-button
133
+
127
134
```yaml [workflow.yml]
128
135
- name: Build and push Docker image
129
136
uses: docker/build-push-action@v6
@@ -136,6 +143,7 @@ We want to cache the Docker layers to improve the time it takes to run this work
Copy file name to clipboardExpand all lines: content/blog/a-small-rant-on-the-horrible-website-my-university-uses.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: A small rant on the website my university uses
3
3
description: As with most Schools and Universities (especially in Germany), my Unis website is very old. These are my biggest problems with their page, and what I alternatives we found
0 commit comments