INITIAL Installation

This is the initial state after setting up TYPO3 via composer.
This commit is contained in:
Daniel Siepmann 2023-02-15 08:55:21 +01:00
parent c62fbe4073
commit 63a65e3447
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
8 changed files with 6400 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/public/
/var/
/vendor/

42
composer.json Normal file
View file

@ -0,0 +1,42 @@
{
"name": "danielsiepmann/workshop",
"description": "An TYPO3 example installation used for Workshop",
"type": "project",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "path",
"url": "./localPackages/*"
}
],
"authors": [
{
"name": "Daniel Siepmann",
"email": "coding@daniel-siepmann.de"
}
],
"config": {
"php": "8.2",
"sort-packages": true,
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true
}
},
"require": {
"danielsiepmann/sitepackage": "1.0.0",
"typo3/cms-adminpanel": "^12.2",
"typo3/cms-belog": "^12.2",
"typo3/cms-composer-installers": "^5.0",
"typo3/cms-core": "^12.2",
"typo3/cms-dashboard": "^12.2",
"typo3/cms-extensionmanager": "^12.2",
"typo3/cms-filelist": "^12.2",
"typo3/cms-info": "^12.2",
"typo3/cms-install": "^12.2",
"typo3/cms-reports": "^12.2",
"typo3/cms-rte-ckeditor": "^12.2",
"typo3/cms-setup": "^12.2",
"typo3/cms-tstemplate": "^12.2"
}
}

6139
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
base: 'https://workshop.typo3.localhost/'
errorHandling: { }
languages:
-
title: English
enabled: true
languageId: 0
base: /
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-us
direction: ltr
flag: us
rootPageId: 1
routes: { }

View file

@ -0,0 +1,5 @@
<?php
if (getenv('TYPO3_ADDITIONAL_CONFIGURATION')) {
require getenv('TYPO3_ADDITIONAL_CONFIGURATION');
}

121
config/system/settings.php Normal file
View file

@ -0,0 +1,121 @@
<?php
return [
'BE' => [
'debug' => true,
'installToolPassword' => '$argon2i$v=19$m=65536,t=16,p=1$V1Baa0t5eFRxcGs3REZzVQ$xLxQ4RRTNqn6tQduilmUrSurrjgZBUE+TzEWh13Wxxs',
'passwordHashing' => [
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
'options' => [],
],
],
'DB' => [
'Connections' => [
'Default' => [
'charset' => 'utf8mb4',
'dbname' => 'typo3_workshop',
'driver' => 'mysqli',
'host' => 'localhost',
'password' => 'dev',
'tableoptions' => [
'charset' => 'utf8mb4',
'collate' => 'utf8mb4_unicode_ci',
],
'unix_socket' => '/var/run/mysqld/mysqld.sock',
'user' => 'dev',
],
],
],
'EXTENSIONS' => [
'backend' => [
'backendFavicon' => '',
'backendLogo' => '',
'loginBackgroundImage' => '',
'loginFootnote' => '',
'loginHighlightColor' => '',
'loginLogo' => '',
'loginLogoAlt' => '',
],
'extensionmanager' => [
'automaticInstallation' => '1',
'offlineMode' => '0',
],
],
'FE' => [
'cacheHash' => [
'enforceValidation' => true,
],
'debug' => true,
'disableNoCacheParameter' => true,
'passwordHashing' => [
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
'options' => [],
],
],
'GFX' => [
'processor' => 'GraphicsMagick',
'processor_allowTemporaryMasksAsPng' => false,
'processor_colorspace' => 'RGB',
'processor_effects' => false,
'processor_enabled' => true,
'processor_path' => '/usr/bin/',
],
'LOG' => [
'TYPO3' => [
'CMS' => [
'deprecations' => [
'writerConfiguration' => [
'notice' => [
'TYPO3\CMS\Core\Log\Writer\FileWriter' => [
'disabled' => false,
],
],
],
],
],
],
],
'MAIL' => [
'transport' => 'sendmail',
'transport_sendmail_command' => '/usr/sbin/sendmail -t -i',
'transport_smtp_encrypt' => '',
'transport_smtp_password' => '',
'transport_smtp_server' => '',
'transport_smtp_username' => '',
],
'SYS' => [
'UTF8filesystem' => true,
'caching' => [
'cacheConfigurations' => [
'hash' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
],
'imagesizes' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
'options' => [
'compression' => true,
],
],
'pages' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
'options' => [
'compression' => true,
],
],
'rootline' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
'options' => [
'compression' => true,
],
],
],
],
'devIPmask' => '*',
'displayErrors' => 1,
'encryptionKey' => 'e59642035dd37070a3f1e80cf14cb0ff3eafb70a81211f5e7bebf57edf6a2c8161995352a332ea2680f56f319c6e1bad',
'exceptionalErrors' => 12290,
'sitename' => 'TYPO3 Workshop',
'systemMaintainers' => [
1,
],
],
];

View file

@ -0,0 +1,26 @@
{
"name": "danielsiepmann/sitepackage",
"description": "TYPO3 Sitepackage for Workshop",
"type": "typo3-cms-extension",
"license": "GPL-2.0-or-later",
"version": "v1.0.0",
"authors": [
{
"name": "Daniel Siepmann",
"email": "coding@daniel-siepmann.de"
}
],
"autoload": {
"psr-4": {
"DanielSiepmann\\Sitepackage\\": "Classes/"
}
},
"require": {
"typo3/cms-core": "*"
},
"extra": {
"typo3/cms": {
"extension-key": "sitepackage"
}
}
}

47
shell.nix Normal file
View file

@ -0,0 +1,47 @@
{ pkgs ? import <nixpkgs> { } }:
let
projectInstall = pkgs.writeShellApplication {
name = "project-install";
runtimeInputs = [
pkgs.php82
pkgs.php82Packages.composer
];
text = ''
composer install --working-dir="$PROJECT_ROOT"
'';
};
projectUpdate = pkgs.writeShellApplication {
name = "project-update";
runtimeInputs = [
pkgs.php82
pkgs.php82Packages.composer
];
text = ''
rm -rf "$PROJECT_ROOT/public/typo3/" "$PROJECT_ROOT/public/index.php" "$PROJECT_ROOT/vendor/" "$PROJECT_ROOT/tags"
composer update --with-all-dependencies --working-dir="$PROJECT_ROOT"
"$PROJECT_ROOT/vendor/bin/typo3" cache:flush
"$PROJECT_ROOT/vendor/bin/typo3" cache:warmup
"$PROJECT_ROOT/vendor/bin/typo3" upgrade:run
composer audit
'';
};
in pkgs.mkShell {
name = "MyTypo3Website";
buildInputs = [
projectInstall
projectUpdate
pkgs.php82
pkgs.php82Packages.composer
];
TYPO3_DATABASE = "typo3_workshop";
TYPO3_CONTEXT = "Development/dsiepmann";
TYPO3_ADDITIONAL_CONFIGURATION = "/home/daniels/.local/share/typo3-configuration/AdditionalConfiguration.inc.php";
shellHook = ''
export PROJECT_ROOT="$(pwd)"
'';
}