|
|
@@ -1,104 +1,45 @@
|
|
|
# abi.de Typo3 CMS
|
|
|
|
|
|
-## Requires:
|
|
|
+## Prerequisites
|
|
|
* Typo3 10
|
|
|
* PHP 7.4
|
|
|
* Mysql DB
|
|
|
-* composer
|
|
|
+* [Composer](https://getcomposer.org/download/)
|
|
|
|
|
|
-### Custom Extenions
|
|
|
+
|
|
|
+### Custom Extensions
|
|
|
* mrm_be
|
|
|
* mrmbepages
|
|
|
|
|
|
### TER Extensions
|
|
|
-* ichhabrecht/content-defender (https://extensions.typo3.org/extension/content_defender)
|
|
|
-* wazum/pagetree-resizable (https://extensions.typo3.org/extension/pagetree_resizable)
|
|
|
-* vlucas/phpdotenv (https://github.com/vlucas/phpdotenv)
|
|
|
+* [ichhabrecht/content-defender](https://extensions.typo3.org/extension/content_defender)
|
|
|
+* [wazum/pagetree-resizable](https://extensions.typo3.org/extension/pagetree_resizable)
|
|
|
+* [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv)
|
|
|
|
|
|
### Setup (general)
|
|
|
1. Clone project.
|
|
|
2. Setup mysql db.
|
|
|
-3. Import a fresh dump into your mysql db.
|
|
|
-4. Fill up the 'fileadmin'-Directory with a fresh backup.
|
|
|
-5. cd into project's root folder
|
|
|
-6. composer install
|
|
|
+3. Copy <projectdir>/public/typo3conf/env-file-template to <projectdir>/public/typo3conf/.env and set DB credentials and other
|
|
|
+ secrets in the newly created .env .
|
|
|
+4. Import a fresh dump into your mysql db.
|
|
|
+5. Fill up the 'fileadmin'-Directory with a fresh backup.
|
|
|
+6. cd into project's root folder
|
|
|
+7. composer install
|
|
|
|
|
|
|
|
|
### DDEV Setup (local development)
|
|
|
1. Create a local project directory change to it. (cd projectdir)
|
|
|
2. clone this git repo into your projectdir (git clone .....)
|
|
|
-3. ddev config
|
|
|
-4. Choose 'php' (NOT 'typo3') as kind of project and accept all other default options in the 'ddev config challenge'
|
|
|
-5. Edit **.ddev/config.yaml**:
|
|
|
+3. Copy <projectdir>/public/typo3conf/env-file-template to <projectdir>/public/typo3conf/.env and set DB credentials and other
|
|
|
+ secrets in the newly created .env .
|
|
|
+4. ddev config
|
|
|
+5. Choose 'php' (NOT 'typo3') as kind of project and accept all other default options in the 'ddev config challenge'
|
|
|
+6. Edit **.ddev/config.yaml**:
|
|
|
* docroot: "abitypo3cms/public"
|
|
|
* php_version: "7.4"
|
|
|
* webimage_extra_packages: [php7.4-mongodb] # add this line if it is not already there!
|
|
|
-6. ddev start
|
|
|
-7. ddev describe (to get an overview of what ddev has build for you)
|
|
|
-8. ddev ssh (to ssh into the projects web server)
|
|
|
-9. cd abitypo3cms (on the web server!)
|
|
|
-10. composer install
|
|
|
-11. have fun!
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-# TYPO3 CMS Base Distribution
|
|
|
-
|
|
|
-Get going quickly with TYPO3 CMS.
|
|
|
-
|
|
|
-## Prerequisites
|
|
|
-
|
|
|
-* PHP 7.2
|
|
|
-* [Composer](https://getcomposer.org/download/)
|
|
|
-
|
|
|
-## Quickstart
|
|
|
-
|
|
|
-* `composer create-project typo3/cms-base-distribution project-name ^10`
|
|
|
-* `cd project-name`
|
|
|
-
|
|
|
-**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
|
|
|
-```
|
|
|
-
|
|
|
-**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 \
|
|
|
- --no-interaction \
|
|
|
- --database-user-name=typo3 \
|
|
|
- --database-user-password=typo3 \
|
|
|
- --database-host-name=127.0.0.1 \
|
|
|
- --database-port=3306 \
|
|
|
- --database-name=typo3 \
|
|
|
- --use-existing-database \
|
|
|
- --admin-user-name=admin \
|
|
|
- --admin-password=password \
|
|
|
- --site-setup-type=site
|
|
|
-```
|
|
|
-
|
|
|
-**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
|
|
|
-[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.
|
|
|
-
|
|
|
-# License
|
|
|
-
|
|
|
-GPL-2.0 or later
|
|
|
+7. ddev start
|
|
|
+8. ddev describe (to get an overview of what ddev has build for you)
|
|
|
+9. ddev ssh (to ssh into the projects web server)
|
|
|
+10. cd abitypo3cms (on the web server!)
|
|
|
+11. composer install
|