Skip to content

Commit

Permalink
[TASK] add initial site package and adjust site config (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
DatFaili authored Apr 8, 2024
1 parent 9092555 commit ddc41a6
Show file tree
Hide file tree
Showing 14 changed files with 160 additions and 29 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"prefer-stable": true,
"require": {
"php": "^8.2",
"surfcamp/portfolio": "dev-main",
"typo3/cms-backend": "dev-main",
"typo3/cms-belog": "dev-main",
"typo3/cms-beuser": "dev-main",
Expand Down
102 changes: 73 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions config/sites/portfolio/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
base: 'https://surfcamp-team2.ddev.site/'
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=7'
languages:
-
title: English
enabled: true
languageId: 0
base: /en/
locale: en_US.UTF-8
navigationTitle: English
flag: us
-
title: German
enabled: true
languageId: 1
base: /de/
locale: de_DE.UTF-8
navigationTitle: Deutsch
flag: de
rootPageId: 1
routes: { }
1 change: 1 addition & 0 deletions local_packages/portfolio/Classes/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions local_packages/portfolio/Resources/Public/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

32 changes: 32 additions & 0 deletions local_packages/portfolio/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "surfcamp/portfolio",
"description": "TYPO3 set for a portfolio website",
"type": "typo3-cms-extension",
"homepage": "https://team2.surfcamp.typo3.com",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "fpachowsky",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.2.0",
"typo3/cms-core": "dev-main",
"typo3/cms-backend": "dev-main",
"typo3/cms-frontend": "dev-main"
},
"require-dev": {
"roave/security-advisories": "dev-master"
},
"extra": {
"typo3/cms": {
"extension-key": "portfolio"
}
},
"autoload": {
"psr-4": {
"Surfcamp\\Portfolio\\": "Classes"
}
}
}
21 changes: 21 additions & 0 deletions local_packages/portfolio/ext_emconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
$EM_CONF[$_EXTKEY] = [
'title' => 'TYPO3 Portfolio Set',
'description' => '',
'category' => '',
'state' => 'alpha',
'author' => 'Felix Pachowsky',
'author_email' => '[email protected]',
'author_company' => '',
'version' => '0.9',
'constraints' => [
'depends' => [
'php' => '8.2-',
'typo3' => '11.5-',
],
'conflicts' => [
],
'suggests' => [
],
],
];
2 changes: 2 additions & 0 deletions local_packages/portfolio/ext_localconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
declare(strict_types=1);
Empty file.

0 comments on commit ddc41a6

Please sign in to comment.