From 2f4fcd0381f403d78b20641bbb024f11686827c2 Mon Sep 17 00:00:00 2001 From: lukas Date: Mon, 28 Apr 2025 17:08:04 +0000 Subject: [PATCH] docs: update project/infrastructure/wiki --- project/infrastructure/wiki.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/project/infrastructure/wiki.md b/project/infrastructure/wiki.md index de99927..e602de0 100644 --- a/project/infrastructure/wiki.md +++ b/project/infrastructure/wiki.md @@ -2,7 +2,7 @@ title: Wiki description: published: true -date: 2025-04-28T16:48:19.667Z +date: 2025-04-28T17:08:02.543Z tags: editor: markdown dateCreated: 2025-04-28T16:15:31.727Z @@ -14,17 +14,32 @@ dateCreated: 2025-04-28T16:15:31.727Z ## Set up -- From the Cloudron WebUI, open a terminal session inside the `wiki` container. Generate a SSH key pair inside this container and put in under `/app/data/` +### Git synchronization + +The following allows for the Git repository `https://git.phyllo.me/roots/wiki` to be bilaterally synced with the wiki. + +- From the Cloudron Web User Interface, open a terminal session inside the `wiki` container. +- Generate an SSH key pair inside this container and put in under `/app/data/` - Create a local repository path too, `mkdir /app/data/repo` - Log into with an admin account -- Go to to *Modules* -> *Storage* and select *Git*. +- Go to *Modules* > *Storage* and select *Git*. - Under *Authentication Type*, select *ssh* -- Assuming the repository is hosted on git.phyllo.me and the roots organizsation, use `ssh://git@git.phyllo.me:29418/roots/wiki.git` under *Repository URI* +- Assuming the repository is hosted on git.phyllo.me and the *roots* organization, use `ssh://git@git.phyllo.me:29418/roots/wiki.git` under *Repository URI* - Under *Branch*, pick main - Under *SSH Private Key Mode*, pick *path* - Under *SSH Private Key Path*, pick `/app/data/id_rsa` - Under *Default Author Name*, pick `lukas at phyllo me` - Under *Default Author Name*, pick lukas - Under Local Repository Path, pick */app/data/repo* -- Choose *Bi-directionnal* sync and then force sync to check if everything is working as expected. +- Choose *Bidirectional* sync and then force sync to check if everything is working as expected. +### Adding new users to the Editor group + +New users coming from Cloudron can be automatically added to the Editor group. + +To do so, + +- Navigate to *Administration* > *Authentication*. +- Under *Active Strategies*, select Cloudron. +- Under *Registration*, make sure that *Allow self-registration* is enabled and add the *Editors group* to the *Assign to group* field. +- It is also a good idea to add *phyllo.me* and *phyllome.org* to the *Limit to specific email domains* field.