From d7fe074f9327fde3ecebf253faadf5d3f23c4909 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Tue, 13 May 2025 13:37:49 +0200
Subject: [PATCH] update docs

---
 "docs/30_\360\237\252\204_Init_a_new_project.md" |  1 +
 .../20_Templates.md"                             | 16 +++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git "a/docs/30_\360\237\252\204_Init_a_new_project.md" "b/docs/30_\360\237\252\204_Init_a_new_project.md"
index 71f4d3e..b6fbd11 100644
--- "a/docs/30_\360\237\252\204_Init_a_new_project.md"
+++ "b/docs/30_\360\237\252\204_Init_a_new_project.md"
@@ -28,6 +28,7 @@ The initial file structure looks like this:
 ├── docker                         # Docker data
 │  ├── init.sh                       << shellscript for initialization
 │  ├── init.sh.cfg                   << config file
+│  ├── init.sh_not_shared.cfg.dist   << config file template
 │  └── templates                     << folder with templates
 │     ├── docker-compose.yml
 │     ├── dot_env
diff --git "a/docs/40_\342\232\231\357\270\217_Configuration/20_Templates.md" "b/docs/40_\342\232\231\357\270\217_Configuration/20_Templates.md"
index df515a0..5b94306 100644
--- "a/docs/40_\342\232\231\357\270\217_Configuration/20_Templates.md"
+++ "b/docs/40_\342\232\231\357\270\217_Configuration/20_Templates.md"
@@ -4,7 +4,7 @@
 * All files in the `docker/templates/` directory will be processed. This also means: you can add as many custom files here as you want - and the will processed too.
 * in the first line must be a line `# TARGET: [name of target file]` to define the target file. If this line does not exist, then the file will be skipped.
 * Placeholdrs have the syntax variable in double brackets, i.e. `{{VARNAME}}`
-* variables to be replaced are those in docker/init.sh.cfg and `{{genrator}}`
+* variables to be replaced are those in docker/init.sh.cfg and `{{generator}}`
 
 # Templates
 
@@ -147,7 +147,10 @@ and php modules. To override default module settings see template with  "extra-p
 FROM php:{{APP_PHP_VERSION}}-apache
 
 # install packages
-RUN apt-get update && apt-get install -y {{APP_APT_PACKAGES}}
+RUN rm -rf /var/lib/apt/lists/* 
+RUN mkdir -p /var/cache/apt/archives/partial
+RUN apt-get update 
+RUN apt-get install -y {{APP_APT_PACKAGES}}
 
 # enable apache modules
 RUN a2enmod {{APP_APACHE_MODULES}}
@@ -204,7 +207,7 @@ For the security headers in the buttom part the apache module "headers" ist need
 Custom PHP config file for you additional settings.
 Showing all warnings and errors is enabled as default.
 
-✴️ You **SHOULD** change this to setup Mysql database service for your needs.
+✴️ You **SHOULD** change this to correct timezone or define other settings
 
 ```ini
 # TARGET: docker/containers/web-server/php/extra-php-config.ini
@@ -216,6 +219,13 @@ Showing all warnings and errors is enabled as default.
 error_reporting=E_ALL
 display_errors=1
 
+; If you want to catch emails locally in your dev environment
+; eg. https://os-docs.iml.unibe.ch/php-emailcatcher/
+; sendmail_path = "php {{WEBROOT}}/vendor/emailcatcher/php-sendmail.php"
+
+[Date]
+date.timezone = Europe/Zurich
+
 ; ----------------------------------------------------------------------
 ; XDEBUG STUFF BELOW
 ; ----------------------------------------------------------------------
-- 
GitLab