I've been using Authelia for 3 years now and I am greatly satisfied with this software.
Yesterday I saw that Authelia's projects members are raising money to fund a security audit https://www.authelia.com/contributing/prologue/financial/.
I decided to do …
Hi,
after RealWorldApp part 1 and part 2 comes part 3.
In part 2 we implemented our data model.
Let's check that it works!
Dummy data
Using Mistral AI we created dummy data to populate our database.
idslugtitledescriptionbodycreated_atupdated_atauthor_id
…
Download the image
wget https://cloud.debian.org/images/cloud/trixie/daily/latest/debian-13-genericcloud-amd64-daily.qcow2
Configure the image with qemu guest agent installed
Install tools needed for image configuration
With Arch:
yay guestfs-tools
With…
Hi,
after RealWorldApp part 1 comes part 2.
So in part 1 we defined our data model.
Now let's code it.
Creation of the project
First we fork the RealWorldApp starter kit and then we clone our fork :
git clone git@github.com:ZephOne/realworld-fastapi-htmx.…
Hi,
several months ago I came across RealWorld apps which aims to make one get a certain level of understanding of a framework to be able to build something with it.
And some months ago I wanted to get back on track with web developpement and especially u…
Arch Linux installation
Following kubecraft advice to go deeper in my linux knowledge, I did the course about installing Arch Linux.
Yet I did it a bit differently using Btrfs (I wanted to learn more about this filesystem) instead of LVM.
It was an opport…
In order to simply sync an Obsidian vault to every device I have (linux machines and android device) I will use Nextcloud.
I'll do it through Nextcloud desktop client for linux laptops and Nextcloud Notes app for android devices.
Basically install Nextclo…
Add disk to the VM via proxmox web interface
Create partitions table of type GPT
parted /dev/sdb mklabel gpt
Create the first partition
parted -a opt /dev/sdb mkpart primary ext4 0% 100%
Create the filesystem
mkfs.ext4 -L storage-label /dev/sdb1
…
A short article, a reminder in fact.
I had to use Ansible to deploy an application on a machine (say application-machine) where port forwarding is needed to access a GitLab instance which is not accessible from application-machine.
Manually I would connec…
A short article, a reminder in fact.
Once again I have to use the Python built-in debugger.
This time inside a PyQt application.
Yet it is not just about using import pdb; pdb.set_trace().
Indeed if I only do that I am a bit annoyed by the Qt event loop :…
GNOME Evolution configuration
In order to use an external text editor rather than the GNOME Evolution integrated editor, the external-editor plug-in is needed.
First, ensure that it is enabled in GNOME Evolution plug-in manager by ticking the check box in…
Through this article, I show how to build and deploy a static website generated with zola.
Actually, it was the occasion to finaly set a CI/CD for my blog 😉.
Gitlab CI/CD configuration
Our gitlab-ci.yml will have two stages:
stages:
- build
- deploy
…
A short article, a reminder in fact.
Yesterday I read an article about shell customizing and I discovered two plugins: colored-man-pages and extract. The first one is self explaining :
The second one allows me not to plug my brain when I want to extract…
Users for our blog
Now we need we users and the have to store this information.
We represent our entity User like this:
User
email
username
password
role
We will use a postgreSQL database and the ORM Diesel
Set up Diesel
In the Cargo.t…
A home page for our blog
Tera installation
We will use the template engine tera.
In the Cargo file
First, we register it in the Cargo file:
[package]
name = "blog-rs"
version = "0.1.0"
authors = [" my_user_name <my_mail>&quo…
Objectives
Through a series of articles, I will show you how to create a blog application with Rocket, a Rust web framework.
This blog application allow people to subscribe and once they are registered they can submit blog post. They
can modify or delete …
A Hello, world! with Rocket
Rust environment
Currently a rocket application needs to be compiled using latest nightly Rust. So install it, if you
don't have it yet:
$ rustup install nightly
If nightly Rust was install but not up to date, update it and al…
Download raspbian
First we have to
download raspbian iso on raspberrypi.org. Here we download
the Raspbian Buster Lite, we don't need a graphical interface.
Write on the SD micro card
We extract the content from the downloaded archive en we write it on …