|
@@ -46,12 +46,35 @@ For development you have to setup local DBs! But you can use the external manage
|
|
|
* [wazum/pagetree-resizable](https://extensions.typo3.org/extension/pagetree_resizable)
|
|
* [wazum/pagetree-resizable](https://extensions.typo3.org/extension/pagetree_resizable)
|
|
|
* [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv)
|
|
* [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv)
|
|
|
|
|
|
|
|
|
|
+### DDEV Setup (local development)
|
|
|
|
|
+
|
|
|
|
|
+* Create a local project directory change to it. (cd projectdir)
|
|
|
|
|
+* clone this git repo into your projectdir (git clone .....)
|
|
|
|
|
+* Copy <projectdir>/public/typo3conf/env-file-template to <projectdir>/public/typo3conf/.env and set DB credentials and other
|
|
|
|
|
+* secrets in the newly created .env .
|
|
|
|
|
+* ddev config
|
|
|
|
|
+* Choose 'php' (NOT 'typo3') as kind of project and accept all other default options in the 'ddev config challenge'
|
|
|
|
|
+* 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!
|
|
|
|
|
+* ddev start
|
|
|
|
|
+* ddev describe (to get an overview of what ddev has build for you)
|
|
|
|
|
+* ddev ssh (to ssh into the projects web server)
|
|
|
|
|
+* cd abitypo3cms (on the web server!)
|
|
|
|
|
+* composer install
|
|
|
|
|
+
|
|
|
|
|
+------------------------
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
### Setup (general)
|
|
### Setup (general)
|
|
|
-1. Clone project.
|
|
|
|
|
-2. Setup mysql db.
|
|
|
|
|
-3. Copy <projectdir>/public/typo3conf/env-file-template to <projectdir>/public/typo3conf/.env and set DB credentials and other
|
|
|
|
|
|
|
+* Clone project.
|
|
|
|
|
+* Setup mysql db.
|
|
|
|
|
+* Copy <projectdir>/public/typo3conf/env-file-template to <projectdir>/public/typo3conf/.env and set DB credentials and other
|
|
|
secrets in the newly created .env .
|
|
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
|
|
|
|
|
|
|
+* Import a fresh dump into your mysql db.
|
|
|
|
|
+* Fill up the 'fileadmin'-Directory with a fresh backup.
|
|
|
|
|
+* cd into project's root folder
|
|
|
|
|
+* composer install
|
|
|
|
|
+
|
|
|
|
|
+
|