11#! /bin/bash
22
3- VERSION=${1:- 12 }
3+ VERSION=${1:- 13 }
44
55shopt -s extglob
66rm -rf /var/www/html/* -- ! (vendor)
@@ -10,24 +10,49 @@ composer config extra.typo3/cms.web-dir public -d /var/www/html/
1010composer config repositories.$EXTENSION_KEY path /var/www/$EXTENSION_KEY -d /var/www/html/
1111composer config --no-plugins allow-plugins.typo3/cms-composer-installers true -d /var/www/html/
1212composer config --no-plugins allow-plugins.typo3/class-alias-loader true -d /var/www/html/
13- composer req t3/cms:" ^$VERSION " $PACKAGE_NAME :' *@dev' --no-progress -n -d /var/www/html/
13+ composer req typo3/cms-core:" ^$VERSION " \
14+ typo3/cms-backend:" ^$VERSION " \
15+ typo3/cms-frontend:" ^$VERSION " \
16+ typo3/cms-install:" ^$VERSION " \
17+ typo3/cms-extbase:" ^$VERSION " \
18+ typo3/cms-fluid:" ^$VERSION " \
19+ typo3/cms-recordlist:" ^$VERSION " \
20+ typo3/cms-scheduler:" ^$VERSION " \
21+ typo3/cms-setup:" ^$VERSION " \
22+ typo3/cms-tstemplate:" ^$VERSION " \
23+ typo3/cms-extensionmanager:" ^$VERSION " \
24+ typo3/cms-filelist:" ^$VERSION " \
25+ typo3/cms-lowlevel:" ^$VERSION " \
26+ typo3/cms-info:" ^$VERSION " \
27+ typo3/cms-viewpage:" ^$VERSION " \
28+ typo3/cms-belog:" ^$VERSION " \
29+ typo3/cms-beuser:" ^$VERSION " \
30+ typo3/cms-dashboard:" ^$VERSION " \
31+ typo3/cms-felogin:" ^$VERSION " \
32+ typo3/cms-fluid-styled-content:" ^$VERSION " \
33+ typo3/cms-form:" ^$VERSION " \
34+ typo3/cms-impexp:" ^$VERSION " \
35+ typo3/cms-seo:" ^$VERSION " \
36+ typo3/cms-sys-note:" ^$VERSION " \
37+ helhum/typo3-console:" *" \
38+ $PACKAGE_NAME :' *@dev' \
39+ --no-progress -n -d /var/www/html/
40+
1441composer req --dev --no-progress -n -W -d /var/www/html/ \
15- typo3/cms-lowlevel:" ^$VERSION " \
1642 friendsofphp/php-cs-fixer:' ^3' \
1743 helmich/typo3-typoscript-lint:' ^3' \
18- michielroos/typo3scan:' ^1.7' \
19- ssch/typo3-rector:' ^1.3' \
20- phpunit/phpunit:' ^10.5'
44+ ssch/typo3-rector:' ^3.5' \
45+ phpunit/phpunit:' ^11'
2146
2247cd /var/www/html/
2348
2449mysql \
2550 --host=db \
26- --user=db \
27- --password=db \
51+ --user=root \
52+ --password=root \
2853 --execute=" DROP DATABASE IF EXISTS test; CREATE DATABASE test; GRANT ALL PRIVILEGES ON test.* TO 'db'@'%'; FLUSH PRIVILEGES;"
2954
30- vendor/bin/typo3 install:setup --database-user-name=db --database-user-password=db --database-host-name=db --database-name=test --use-existing-database --force --site-base-url " /"
55+ vendor/bin/typo3 install:setup --database-user-name=root --database-user-password=root --database-host-name=db --database-name=test --use-existing-database --force --site-base-url " /"
3156vendor/bin/typo3 configuration:set ' BE/debug' 1
3257vendor/bin/typo3 configuration:set ' FE/debug' 1
3358vendor/bin/typo3 configuration:set ' SYS/devIPmask' ' *'
@@ -37,7 +62,6 @@ vendor/bin/typo3 configuration:set 'MAIL/transport' 'smtp'
3762vendor/bin/typo3 configuration:set ' MAIL/transport_smtp_server' ' localhost:1025'
3863vendor/bin/typo3 configuration:set ' GFX/processor' ' ImageMagick'
3964vendor/bin/typo3 configuration:set ' GFX/processor_path' ' /usr/bin/'
40- vendor/bin/typo3 backend:createadmin admin admin123
4165
4266sed -i -e " s/base: ht\//base: \//g" /var/www/html/config/sites/main/config.yaml
4367sed -i -e ' s/base: \/en\//base: \//g' /var/www/html/config/sites/main/config.yaml
0 commit comments