From e2da4ca5811d86eefa658f0385f51f58c22fb5c9 Mon Sep 17 00:00:00 2001 From: Simon Gilli <25326036+gilbertsoft@users.noreply.github.com> Date: Tue, 20 Jul 2021 14:30:03 +0200 Subject: [PATCH] [TASK] Add TYPO3 Console for v11 --- README.md | 26 +++++++++++------------ composer.json | 58 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 47 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 7c6c580..49eaf09 100644 --- a/README.md +++ b/README.md @@ -4,31 +4,31 @@ Get going quickly with TYPO3 CMS. ## Prerequisites -* PHP 7.2 +* PHP 7.4 * [Composer](https://getcomposer.org/download/) ## Quickstart -* `composer create-project typo3/cms-base-distribution project-name ^10` +* `composer create-project typo3/cms-base-distribution project-name ^11` * `cd project-name` -**Setup:** +### Setup To start an interactive installation, you can do so by executing the following command and then follow the wizard: -``` -php vendor/bin/typo3cms install:setup +```bash +composer exec typo3cms install:setup ``` -**Setup unattended (optional):** +### Setup unattended (optional) If you're a more advanced user, you might want to leverage the unattended installation. To do this, you need to execute the following command and substitute the arguments with your own environment configuration. -``` -php vendor/bin/typo3cms install:setup \ +```bash +composer exec typo3cms install:setup \ --no-interaction \ --database-user-name=typo3 \ --database-user-password=typo3 \ @@ -41,18 +41,18 @@ php vendor/bin/typo3cms install:setup \ --site-setup-type=site ``` -**Development server:** +### Development server While it's advised to use a more sophisticated web server such as -Apache 2 or nginx, you can instantly run the project by using PHPs` built-in +Apache 2 or Nginx, you can instantly run the project by using PHPs` built-in [web server](https://secure.php.net/manual/en/features.commandline.webserver.php). * `TYPO3_CONTEXT=Development php -S localhost:8000 -t public` * open your browser at "http://localhost:8000" -Please be aware that the built-in web server is single threaded. Which is ultimately -a performance killer and may result in deadlocks if you execute too many requests at once. +Please be aware that the built-in web server is single threaded and only meant +to be used for development. -# License +## License GPL-2.0 or later diff --git a/composer.json b/composer.json index f68cf70..63a9c26 100644 --- a/composer.json +++ b/composer.json @@ -9,29 +9,39 @@ "sort-packages": true }, "require": { - "typo3/cms-backend": "^11.1.0@dev", - "typo3/cms-belog": "^11.1.0@dev", - "typo3/cms-beuser": "^11.1.0@dev", - "typo3/cms-core": "^11.1.0@dev", - "typo3/cms-dashboard": "^11.1.0@dev", - "typo3/cms-extbase": "^11.1.0@dev", - "typo3/cms-extensionmanager": "^11.1.0@dev", - "typo3/cms-felogin": "^11.1.0@dev", - "typo3/cms-filelist": "^11.1.0@dev", - "typo3/cms-fluid": "^11.1.0@dev", - "typo3/cms-fluid-styled-content": "^11.1.0@dev", - "typo3/cms-form": "^11.1.0@dev", - "typo3/cms-frontend": "^11.1.0@dev", - "typo3/cms-impexp": "^11.1.0@dev", - "typo3/cms-info": "^11.1.0@dev", - "typo3/cms-install": "^11.1.0@dev", - "typo3/cms-recordlist": "^11.1.0@dev", - "typo3/cms-rte-ckeditor": "^11.1.0@dev", - "typo3/cms-seo": "^11.1.0@dev", - "typo3/cms-setup": "^11.1.0@dev", - "typo3/cms-sys-note": "^11.1.0@dev", - "typo3/cms-t3editor": "^11.1.0@dev", - "typo3/cms-tstemplate": "^11.1.0@dev", - "typo3/cms-viewpage": "^11.1.0@dev" + "helhum/typo3-console": "^6.6.0", + "typo3/cms-backend": "~11.3.1", + "typo3/cms-belog": "~11.3.1", + "typo3/cms-beuser": "~11.3.1", + "typo3/cms-core": "~11.3.1", + "typo3/cms-dashboard": "~11.3.1", + "typo3/cms-extbase": "~11.3.1", + "typo3/cms-extensionmanager": "~11.3.1", + "typo3/cms-felogin": "~11.3.1", + "typo3/cms-filelist": "~11.3.1", + "typo3/cms-fluid": "~11.3.1", + "typo3/cms-fluid-styled-content": "~11.3.1", + "typo3/cms-form": "~11.3.1", + "typo3/cms-frontend": "~11.3.1", + "typo3/cms-impexp": "~11.3.1", + "typo3/cms-info": "~11.3.1", + "typo3/cms-install": "~11.3.1", + "typo3/cms-recordlist": "~11.3.1", + "typo3/cms-rte-ckeditor": "~11.3.1", + "typo3/cms-seo": "~11.3.1", + "typo3/cms-setup": "~11.3.1", + "typo3/cms-sys-note": "~11.3.1", + "typo3/cms-t3editor": "~11.3.1", + "typo3/cms-tstemplate": "~11.3.1", + "typo3/cms-viewpage": "~11.3.1" + }, + "scripts":{ + "typo3-cms-scripts": [ + "typo3cms install:generatepackagestates", + "typo3cms install:fixfolderstructure" + ], + "post-autoload-dump": [ + "@typo3-cms-scripts" + ] } }